Skip to content

Commit 955fd23

Browse files
committed
Merge #12512: Don't test against the mempool min fee information in mempool_limit.py
55f89da Don't test against the mempool min fee information in mempool_limit.py (Ben Woosley) Pull request description: Because the right-hand side of this comparison can be influenced externally, e.g. via the -maxmempool argument, the existing mempool state, host memory usage, etc. Called out by @MarcoFalke here: bitcoin/bitcoin#12356 (comment) Tree-SHA512: 1644cb8046a6953fb93423a5e51af4f5c7d00a35f10389fddd6a823dae6f31ab367b53af70b3b69161adb9c48f57cf4772db7f4610fd7aadd9c0e9b3da17e9f8
2 parents 9a75902 + 55f89da commit 955fd23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/mempool_limit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def run_test(self):
5858
# specifically fund this tx with a fee < mempoolminfee, >= than minrelaytxfee
5959
txF = self.nodes[0].fundrawtransaction(tx, {'feeRate': relayfee})
6060
txFS = self.nodes[0].signrawtransactionwithwallet(txF['hex'])
61-
assert_raises_rpc_error(-26, "mempool min fee not met, 166 < 411 (code 66)", self.nodes[0].sendrawtransaction, txFS['hex'])
61+
assert_raises_rpc_error(-26, "mempool min fee not met", self.nodes[0].sendrawtransaction, txFS['hex'])
6262

6363
if __name__ == '__main__':
6464
MempoolLimitTest().main()

0 commit comments

Comments
 (0)