Update freeze tests

* Conditionally skip freeze enforcement tests
* Honour remote.fee_cushion setting
* Workaround ripple-lib regression
* Don't use mocha features from wrong version
This commit is contained in:
Nicholas Dudfield
2014-07-18 13:57:37 +07:00
committed by David Schwartz
parent 4cf29455e4
commit 373ce72984
3 changed files with 41 additions and 24 deletions

View File

@@ -497,7 +497,7 @@ exports.LedgerState = class LedgerState
add_transaction_fees: ->
extra_fees = {}
fee = Amount.from_json('15')
fee = Amount.from_json(@remote.fee_cushion * 10)
for list in [@trusts, @iou_payments, @offers]
for [src, args...] in list
extra = extra_fees[src]