Skip to content

Commit 55f89da

Browse files
committed
Don't test against the mempool min fee information in mempool_limit.py
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.
1 parent aae64a2 commit 55f89da

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)