test: fix incorrect value in rpc_rawtransaction.py

This commit is contained in:
Jon Atack 2019-09-21 15:55:51 +02:00
parent cf57e33cc6
commit acc14c5093
No known key found for this signature in database
GPG Key ID: 4F5721B3D0E3921D

View File

@ -445,7 +445,7 @@ class RawTransactionsTest(BitcoinTestFramework):
self.sync_all() self.sync_all()
inputs = [{ "txid" : txId, "vout" : vout['n'] }] inputs = [{ "txid" : txId, "vout" : vout['n'] }]
outputs = { self.nodes[0].getnewaddress() : Decimal("0.999990000") } # 10000 sat fee outputs = { self.nodes[0].getnewaddress() : Decimal("0.99990000") } # 10000 sat fee
rawTx = self.nodes[2].createrawtransaction(inputs, outputs) rawTx = self.nodes[2].createrawtransaction(inputs, outputs)
rawTxSigned = self.nodes[2].signrawtransactionwithwallet(rawTx) rawTxSigned = self.nodes[2].signrawtransactionwithwallet(rawTx)
assert_equal(rawTxSigned['complete'], True) assert_equal(rawTxSigned['complete'], True)