mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
JS Tests: Replace one of the hard-coded fees in the testsuite. More to go.
This commit is contained in:
@@ -160,7 +160,9 @@ var create_accounts = function (remote, src, amount, accounts, callback) {
|
||||
.on('proposed', function (m) {
|
||||
// console.log("proposed: %s", JSON.stringify(m));
|
||||
|
||||
callback(m.result != 'tesSUCCESS');
|
||||
if (m.result != 'tesSUCCESS') {
|
||||
callback(new Error("Payment to create account did not succeed."));
|
||||
} else callback(null);
|
||||
})
|
||||
.on('error', function (m) {
|
||||
// console.log("error: %s", JSON.stringify(m));
|
||||
|
||||
Reference in New Issue
Block a user