mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
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.
This commit is contained in:
parent
aae64a21ba
commit
55f89da1a5
@ -58,7 +58,7 @@ class MempoolLimitTest(BitcoinTestFramework):
|
||||
# specifically fund this tx with a fee < mempoolminfee, >= than minrelaytxfee
|
||||
txF = self.nodes[0].fundrawtransaction(tx, {'feeRate': relayfee})
|
||||
txFS = self.nodes[0].signrawtransactionwithwallet(txF['hex'])
|
||||
assert_raises_rpc_error(-26, "mempool min fee not met, 166 < 411 (code 66)", self.nodes[0].sendrawtransaction, txFS['hex'])
|
||||
assert_raises_rpc_error(-26, "mempool min fee not met", self.nodes[0].sendrawtransaction, txFS['hex'])
|
||||
|
||||
if __name__ == '__main__':
|
||||
MempoolLimitTest().main()
|
||||
|
Loading…
Reference in New Issue
Block a user