diff --git a/test/functional/test_framework/util.py b/test/functional/test_framework/util.py --- a/test/functional/test_framework/util.py +++ b/test/functional/test_framework/util.py @@ -46,7 +46,7 @@ during fee calculation, or due to the wallet funding transactions using the ceiling of the calculated fee. """ - target_fee = round(tx_size * fee_per_kB / 1000, 8) + target_fee = satoshi_round(tx_size * fee_per_kB / 1000) if fee < (tx_size - wiggleroom) * fee_per_kB / 1000: raise AssertionError( "Fee of {} XEC too low! (Should be {} XEC)".format(str(fee), str(target_fee)))