Merge #522: Fix occasional mempool_packages failure

a88eae1 Fix occasional mempool_packages failure (Steven Roose)

Pull request description:

Tree-SHA512: 89c3880a184294b5708304c9add8936b65572af8f03033505d1961da58f705776a8f42a29e8815c0eab3ca84f4dac36bc1c22ab5697cf0675ce50ba4d23b00ff
This commit is contained in:
Gregory Sanders 2019-03-21 10:05:18 -04:00
commit 899690be2f
No known key found for this signature in database
GPG key ID: F3F68E2D86A48FDB

View file

@ -30,7 +30,7 @@ class MempoolPackagesTest(BitcoinTestFramework):
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'])