aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/test_framework/util.py
diff options
context:
space:
mode:
authorPatrick Lodder <[email protected]>2021-08-17 21:22:56 +0200
committerGitHub <[email protected]>2021-08-17 21:22:56 +0200
commitb8a29b9f59ff4f19a53be6ac80197b42e4dbd97f (patch)
treeb115d23064dce9238d88eb3501661842bac882a6 /qa/rpc-tests/test_framework/util.py
parentMerge pull request #2457 from ReverseControl/1.14.4-suggested-changes-for-2297 (diff)
parentCreate feelimit.py test (diff)
downloaddiscoin-b8a29b9f59ff4f19a53be6ac80197b42e4dbd97f.tar.xz
discoin-b8a29b9f59ff4f19a53be6ac80197b42e4dbd97f.zip
Merge pull request #2441 from rnicoll/1.14.4-fees-disable-rounding
1.14.4 fees disable rounding
Diffstat (limited to 'qa/rpc-tests/test_framework/util.py')
-rw-r--r--qa/rpc-tests/test_framework/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/test_framework/util.py b/qa/rpc-tests/test_framework/util.py
index 4e4011b3a..a9723df07 100644
--- a/qa/rpc-tests/test_framework/util.py
+++ b/qa/rpc-tests/test_framework/util.py
@@ -509,7 +509,7 @@ def random_transaction(nodes, amount, min_fee, fee_increment, fee_variants):
def assert_fee_amount(fee, tx_size, fee_per_kB):
"""Assert the fee was in range"""
- target_fee = round_tx_size(tx_size) * fee_per_kB / 1000
+ target_fee = fee_per_kB / 1000
if fee < target_fee:
raise AssertionError("Fee of %s BTC too low! (Should be %s BTC)"%(str(fee), str(target_fee)))
# allow the wallet's estimation to be at most 2 bytes off