mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +00:00
Update condition and fulfillment for escrow
Calculate escrowFinish fulfillment fee
This commit is contained in:
@@ -1136,6 +1136,20 @@ describe('RippleAPI', function() {
|
||||
}, done);
|
||||
});
|
||||
|
||||
it('getFeeBase', function(done) {
|
||||
this.api.connection.getFeeBase().then(fee => {
|
||||
assert.strictEqual(fee, 10);
|
||||
done();
|
||||
}, done);
|
||||
});
|
||||
|
||||
it('getFeeRef', function(done) {
|
||||
this.api.connection.getFeeRef().then(fee => {
|
||||
assert.strictEqual(fee, 10);
|
||||
done();
|
||||
}, done);
|
||||
});
|
||||
|
||||
it('getLedger', function() {
|
||||
return this.api.getLedger().then(
|
||||
_.partial(checkResult, responses.getLedger.header, 'getLedger'));
|
||||
|
||||
Reference in New Issue
Block a user