aboutsummaryrefslogtreecommitdiff
path: root/test/functional/mempool_package_limits.py
diff options
context:
space:
mode:
authorMichael Dietz <michael.dietz@waya.ai>2021-08-16 18:29:07 +0500
committerMichael Dietz <michael.dietz@waya.ai>2021-08-16 18:29:07 +0500
commit77349713b189e80f2c140db4df50177353a1cb83 (patch)
tree8b21b10191f2f75889bf89f436ee175696763fd7 /test/functional/mempool_package_limits.py
parent86dbd54ae8a8f9c693c0ea67114bbff24a0754df (diff)
test: use getmempoolentry instead of getrawmempool in functional tests when appropriate
Diffstat (limited to 'test/functional/mempool_package_limits.py')
-rwxr-xr-xtest/functional/mempool_package_limits.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/mempool_package_limits.py b/test/functional/mempool_package_limits.py
index 749ec6aa77..a54c1d0457 100755
--- a/test/functional/mempool_package_limits.py
+++ b/test/functional/mempool_package_limits.py
@@ -74,7 +74,7 @@ class MempoolPackageLimitsTest(BitcoinTestFramework):
txid = tx.rehash()
if i < mempool_count:
node.sendrawtransaction(txhex)
- assert_equal(node.getrawmempool(verbose=True)[txid]["ancestorcount"], i + 1)
+ assert_equal(node.getmempoolentry(txid)["ancestorcount"], i + 1)
else:
chain_hex.append(txhex)
chain_txns.append(tx)