BREAKING CHANGE: getFee returns promise, express fee in XRP in instructions response, use rawRequest to start decoupling Remote from API

This commit is contained in:
Chris Clark
2015-10-21 16:04:35 -07:00
parent 5aa212471c
commit cd17d6940f
52 changed files with 277 additions and 184 deletions

View File

@@ -40,7 +40,11 @@ function main() {
makeRequest(connection, request4)
]).then(() => {
console.log('Done');
process.exit();
});
connection.getLedgerVersion().then(console.log);
connection.on('ledgerClosed', ledger => {
console.log(ledger);
connection.getLedgerVersion().then(console.log);
});
});
}