rpc: include verbose reject-details field in testmempoolaccept response

This commit is contained in:
Matthew Zipkin
2023-07-21 10:42:11 -04:00
parent ae69fc37e4
commit 221c789e91
6 changed files with 36 additions and 13 deletions

View File

@@ -67,6 +67,8 @@ class MempoolAcceptanceTest(BitcoinTestFramework):
if "fees" in r:
r["fees"].pop("effective-feerate")
r["fees"].pop("effective-includes")
if "reject-details" in r:
r.pop("reject-details")
assert_equal(result_expected, result_test)
assert_equal(self.nodes[0].getmempoolinfo()['size'], self.mempool_size) # Must not change mempool state