diff options
author | Michael Dietz <michael.dietz@waya.ai> | 2021-08-16 18:29:07 +0500 |
---|---|---|
committer | Michael Dietz <michael.dietz@waya.ai> | 2021-08-16 18:29:07 +0500 |
commit | 77349713b189e80f2c140db4df50177353a1cb83 (patch) | |
tree | 8b21b10191f2f75889bf89f436ee175696763fd7 /test/functional/mempool_accept_wtxid.py | |
parent | 86dbd54ae8a8f9c693c0ea67114bbff24a0754df (diff) | |
download | bitcoin-77349713b189e80f2c140db4df50177353a1cb83.tar.xz |
test: use getmempoolentry instead of getrawmempool in functional tests when appropriate
Diffstat (limited to 'test/functional/mempool_accept_wtxid.py')
-rwxr-xr-x | test/functional/mempool_accept_wtxid.py | 2 |
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) |