diff options
author | glozow <gloriajzhao@gmail.com> | 2022-09-28 14:07:56 +0100 |
---|---|---|
committer | glozow <gloriajzhao@gmail.com> | 2023-01-10 11:06:10 +0000 |
commit | 1691eaa818f7a7b22907f756490b842d80a9a21d (patch) | |
tree | 13c1c1eb75c8d1a3d432e5f35070796e0cde528c /test/functional/mempool_accept.py | |
parent | d6c7b78ef2924af72f677ce2a7472c2447141e18 (diff) | |
download | bitcoin-1691eaa818f7a7b22907f756490b842d80a9a21d.tar.xz |
[rpc] return effective-feerate in testmempoolaccept and submitpackage
Diffstat (limited to 'test/functional/mempool_accept.py')
-rwxr-xr-x | test/functional/mempool_accept.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/functional/mempool_accept.py b/test/functional/mempool_accept.py index abbca15bed..12ea7a00b1 100755 --- a/test/functional/mempool_accept.py +++ b/test/functional/mempool_accept.py @@ -58,7 +58,10 @@ class MempoolAcceptanceTest(BitcoinTestFramework): """Wrapper to check result of testmempoolaccept on node_0's mempool""" result_test = self.nodes[0].testmempoolaccept(*args, **kwargs) for r in result_test: - r.pop('wtxid') # Skip check for now + # Skip these checks for now + r.pop('wtxid') + if "fees" in r: + r["fees"].pop("effective-feerate") assert_equal(result_expected, result_test) assert_equal(self.nodes[0].getmempoolinfo()['size'], self.mempool_size) # Must not change mempool state |