mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Update tests to support latest ripple-lib:
* Update ripple-lib api usage * Use latest npm ripple-lib * Tested with bignumber.js branch and tip of develop * Use new version of coffee-script * Better source maps * Update mocha * Add assert-diff for better error reporting * Add rconsole, enabled via USE_RCONSOLE env var * For use with manual installation only
This commit is contained in:
committed by
Nik Bougalis
parent
44450bf644
commit
4dc2cf8a6b
@@ -245,7 +245,7 @@ function(remote, src, account, amount, callback) {
|
||||
// Before creating the account, check if it exists in the ledger.
|
||||
// If it does, regardless of the balance, fail the test, because
|
||||
// the ledger is not in the expected state.
|
||||
var info = remote.requestAccountInfo(account);
|
||||
var info = remote.requestAccountInfo({account: account});
|
||||
|
||||
info.once('success', function(result) {
|
||||
// The account exists. Fail by returning an error to callback.
|
||||
|
||||
Reference in New Issue
Block a user