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/fundrawtransaction.py | |
parent | fa524d9ddbad0a03f9eb974100fb3b6001045645 (diff) |
[qa] rpc-tests: Properly use integers, floats
Diffstat (limited to 'qa/rpc-tests/fundrawtransaction.py')
-rwxr-xr-x | qa/rpc-tests/fundrawtransaction.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/fundrawtransaction.py b/qa/rpc-tests/fundrawtransaction.py index 82f2f4f5c5..82c9e48a49 100755 --- a/qa/rpc-tests/fundrawtransaction.py +++ b/qa/rpc-tests/fundrawtransaction.py @@ -48,7 +48,7 @@ class RawTransactionsTest(BitcoinTestFramework): watchonly_address = self.nodes[0].getnewaddress() watchonly_pubkey = self.nodes[0].validateaddress(watchonly_address)["pubkey"] - watchonly_amount = 200 + watchonly_amount = Decimal(200) self.nodes[3].importpubkey(watchonly_pubkey, "", True) watchonly_txid = self.nodes[0].sendtoaddress(watchonly_address, watchonly_amount) self.nodes[0].sendtoaddress(self.nodes[3].getnewaddress(), watchonly_amount / 10) |