diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-03-20 18:18:32 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-04-01 21:23:30 +0200 |
commit | fa2cea163b49a97e2a18aa125e41170d60ce59cc (patch) | |
tree | 02d1c4fc64dfb2d72e2efb12a4b63392085a9036 /qa/rpc-tests/listtransactions.py | |
parent | fa524d9ddbad0a03f9eb974100fb3b6001045645 (diff) | |
download | bitcoin-fa2cea163b49a97e2a18aa125e41170d60ce59cc.tar.xz |
[qa] rpc-tests: Properly use integers, floats
Diffstat (limited to 'qa/rpc-tests/listtransactions.py')
-rwxr-xr-x | qa/rpc-tests/listtransactions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/listtransactions.py b/qa/rpc-tests/listtransactions.py index c4eca519b7..8fe72d95d1 100755 --- a/qa/rpc-tests/listtransactions.py +++ b/qa/rpc-tests/listtransactions.py @@ -192,7 +192,7 @@ class ListTransactionsTest(BitcoinTestFramework): # Replace tx3, and check that tx4 becomes unknown tx3_b = tx3_modified - tx3_b.vout[0].nValue -= 0.004 * COIN # bump the fee + tx3_b.vout[0].nValue -= int(Decimal("0.004") * COIN) # bump the fee tx3_b = binascii.hexlify(tx3_b.serialize()).decode('utf-8') tx3_b_signed = self.nodes[0].signrawtransaction(tx3_b)['hex'] txid_3b = self.nodes[0].sendrawtransaction(tx3_b_signed, True) |