mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
test: fix incorrect value in rpc_rawtransaction.py
This commit is contained in:
parent
cf57e33cc6
commit
acc14c5093
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user