aboutsummaryrefslogtreecommitdiff
path: root/test/functional/mempool_accept.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-01-07 16:47:35 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-01-12 18:43:43 +0100
commitfa0aa87071eaec8a5df17774cdb352195e5e09de (patch)
tree454ced6a44964dcddf0351b8558d5a676d629e11 /test/functional/mempool_accept.py
parent6af013792f1bf85824803fc5283bf0d68a8fd080 (diff)
rpc: Return wtxid from testmempoolaccept
Diffstat (limited to 'test/functional/mempool_accept.py')
-rwxr-xr-xtest/functional/mempool_accept.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/mempool_accept.py b/test/functional/mempool_accept.py
index fc4c775668..c4002f524a 100755
--- a/test/functional/mempool_accept.py
+++ b/test/functional/mempool_accept.py
@@ -51,6 +51,8 @@ class MempoolAcceptanceTest(BitcoinTestFramework):
def check_mempool_result(self, result_expected, *args, **kwargs):
"""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
assert_equal(result_expected, result_test)
assert_equal(self.nodes[0].getmempoolinfo()['size'], self.mempool_size) # Must not change mempool state