aboutsummaryrefslogtreecommitdiff
path: root/test/functional/mempool_accept_wtxid.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/mempool_accept_wtxid.py')
-rwxr-xr-xtest/functional/mempool_accept_wtxid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/mempool_accept_wtxid.py b/test/functional/mempool_accept_wtxid.py
index ffafe7428f..82752f2d70 100755
--- a/test/functional/mempool_accept_wtxid.py
+++ b/test/functional/mempool_accept_wtxid.py
@@ -90,7 +90,7 @@ class MempoolWtxidTest(BitcoinTestFramework):
self.log.info("Submit child_one to the mempool")
txid_submitted = node.sendrawtransaction(child_one.serialize().hex())
- assert_equal(node.getrawmempool(True)[txid_submitted]['wtxid'], child_one_wtxid)
+ assert_equal(node.getmempoolentry(txid_submitted)['wtxid'], child_one_wtxid)
peer_wtxid_relay.wait_for_broadcast([child_one_wtxid])
assert_equal(node.getmempoolinfo()["unbroadcastcount"], 0)