diff options
| author | Alex Morcos <[email protected]> | 2016-01-05 17:47:04 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2016-01-05 17:47:04 -0500 |
| commit | bebe58b748532157958f9055e4517e280684006c (patch) | |
| tree | 57fb93d9fd7a0fbd698c8d2e466a1c467d357035 /qa/rpc-tests/mempool_limit.py | |
| parent | Add sane fallback for fee estimation (diff) | |
| download | discoin-bebe58b748532157958f9055e4517e280684006c.tar.xz discoin-bebe58b748532157958f9055e4517e280684006c.zip | |
SQUASHME: Fix rpc tests that assumed fallback to minRelayTxFee
Diffstat (limited to 'qa/rpc-tests/mempool_limit.py')
| -rwxr-xr-x | qa/rpc-tests/mempool_limit.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qa/rpc-tests/mempool_limit.py b/qa/rpc-tests/mempool_limit.py index 3ba17ac4f..a8cf6360e 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]) |