mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 20:25:48 +00:00
Fix PendingLedgerVersionError message and export FormattedTransactionType (#941)
This commit is contained in:
@@ -1629,6 +1629,8 @@ describe('RippleAPI', function () {
|
||||
assert(false, 'Should throw PendingLedgerVersionError');
|
||||
}).catch(error => {
|
||||
assert(error instanceof this.api.errors.PendingLedgerVersionError);
|
||||
assert.strictEqual(error.message, 'maxLedgerVersion is greater than server\'s'
|
||||
+ ' most recent validated ledger')
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user