rpc: include verbose reject-details field in testmempoolaccept response

This commit is contained in:
Matthew Zipkin committed 2024-12-04 14:37:37 -05:00
1 parent ae69fc37e4
commit 221c789e91
6 files changed
+36 -13

No files matched your search

+2
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