From a88eae19342c0c1eb48070ce271dbd3555573334 Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Thu, 21 Mar 2019 13:05:46 +0000 Subject: [PATCH] Fix occasional mempool_packages failure --- test/functional/mempool_packages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/mempool_packages.py b/test/functional/mempool_packages.py index dc766d709d..308d75fcc9 100755 --- a/test/functional/mempool_packages.py +++ b/test/functional/mempool_packages.py @@ -30,7 +30,7 @@ def chain_transaction(self, node, parent_txid, vout, value, fee, num_outputs): outputs = {} for i in range(num_outputs): outputs[node.getnewaddress()] = send_value - outputs["fee"] = fee + outputs["fee"] = value - (num_outputs * send_value) rawtx = node.createrawtransaction(inputs, outputs) signedtx = node.signrawtransactionwithwallet(rawtx) txid = node.sendrawtransaction(signedtx['hex'])