mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Fix occasional mempool_packages failure
This commit is contained in:
parent
928c756171
commit
a88eae1934
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class MempoolPackagesTest(BitcoinTestFramework):
|
||||||
outputs = {}
|
outputs = {}
|
||||||
for i in range(num_outputs):
|
for i in range(num_outputs):
|
||||||
outputs[node.getnewaddress()] = send_value
|
outputs[node.getnewaddress()] = send_value
|
||||||
outputs["fee"] = fee
|
outputs["fee"] = value - (num_outputs * send_value)
|
||||||
rawtx = node.createrawtransaction(inputs, outputs)
|
rawtx = node.createrawtransaction(inputs, outputs)
|
||||||
signedtx = node.signrawtransactionwithwallet(rawtx)
|
signedtx = node.signrawtransactionwithwallet(rawtx)
|
||||||
txid = node.sendrawtransaction(signedtx['hex'])
|
txid = node.sendrawtransaction(signedtx['hex'])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue