Update condition and fulfillment for escrow

Calculate escrowFinish fulfillment fee
This commit is contained in:
wilsonianb
2017-03-23 16:40:33 -07:00
parent 15a0ededc8
commit da36457d5c
13 changed files with 76 additions and 35 deletions

View File

@@ -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'));