aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/mempool_limit.py
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2016-01-05 17:47:04 -0500
committerAlex Morcos <morcos@chaincode.com>2016-01-05 17:47:04 -0500
commitbebe58b748532157958f9055e4517e280684006c (patch)
tree57fb93d9fd7a0fbd698c8d2e466a1c467d357035 /qa/rpc-tests/mempool_limit.py
parente420a1b15e3be8c9d862173d9d554563405b34a7 (diff)
downloadbitcoin-bebe58b748532157958f9055e4517e280684006c.tar.xz
SQUASHME: Fix rpc tests that assumed fallback to minRelayTxFee
Diffstat (limited to 'qa/rpc-tests/mempool_limit.py')
-rwxr-xr-xqa/rpc-tests/mempool_limit.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/qa/rpc-tests/mempool_limit.py b/qa/rpc-tests/mempool_limit.py
index 3ba17ac4f1..a8cf6360ee 100755
--- a/qa/rpc-tests/mempool_limit.py
+++ b/qa/rpc-tests/mempool_limit.py
@@ -33,7 +33,9 @@ class MempoolLimitTest(BitcoinTestFramework):
inputs = [{ "txid" : us0["txid"], "vout" : us0["vout"]}]
outputs = {self.nodes[0].getnewaddress() : 0.0001}
tx = self.nodes[0].createrawtransaction(inputs, outputs)
+ self.nodes[0].settxfee(self.relayfee) # specifically fund this tx with low fee
txF = self.nodes[0].fundrawtransaction(tx)
+ self.nodes[0].settxfee(0) # return to automatic fee selection
txFS = self.nodes[0].signrawtransaction(txF['hex'])
txid = self.nodes[0].sendrawtransaction(txFS['hex'])
self.nodes[0].lockunspent(True, [us0])