Skip to content

Commit 899690b

Browse files
committed
Merge #522: Fix occasional mempool_packages failure
a88eae1 Fix occasional mempool_packages failure (Steven Roose) Pull request description: Tree-SHA512: 89c3880a184294b5708304c9add8936b65572af8f03033505d1961da58f705776a8f42a29e8815c0eab3ca84f4dac36bc1c22ab5697cf0675ce50ba4d23b00ff
2 parents bfd2055 + a88eae1 commit 899690b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/mempool_packages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def chain_transaction(self, node, parent_txid, vout, value, fee, num_outputs):
3030
outputs = {}
3131
for i in range(num_outputs):
3232
outputs[node.getnewaddress()] = send_value
33-
outputs["fee"] = fee
33+
outputs["fee"] = value - (num_outputs * send_value)
3434
rawtx = node.createrawtransaction(inputs, outputs)
3535
signedtx = node.signrawtransactionwithwallet(rawtx)
3636
txid = node.sendrawtransaction(signedtx['hex'])

0 commit comments

Comments
 (0)