Merge #10157: [0.14] Fix the mempool_packages.py test
39febb8 [qa] Fix mempool_packages.py for the 0.14 branch (Suhas Daftuar) Tree-SHA512: 7b5f2627a76d79da5d7c9d30794219a87bec99296d5f74f66b347c7c8914244bfd07f0d48231adda7269678706fd9158b846d710f942b724c8c5748cc4a49c7e
This commit is contained in:
parent
96b457d47e
commit
2e45791c95
@ -104,7 +104,7 @@ class MempoolPackagesTest(BitcoinTestFramework):
|
|||||||
|
|
||||||
# Check that ancestor modified fees includes fee deltas from
|
# Check that ancestor modified fees includes fee deltas from
|
||||||
# prioritisetransaction
|
# prioritisetransaction
|
||||||
self.nodes[0].prioritisetransaction(chain[0], 1000)
|
self.nodes[0].prioritisetransaction(chain[0], 0, 1000)
|
||||||
mempool = self.nodes[0].getrawmempool(True)
|
mempool = self.nodes[0].getrawmempool(True)
|
||||||
ancestor_fees = 0
|
ancestor_fees = 0
|
||||||
for x in chain:
|
for x in chain:
|
||||||
@ -112,7 +112,7 @@ class MempoolPackagesTest(BitcoinTestFramework):
|
|||||||
assert_equal(mempool[x]['ancestorfees'], ancestor_fees * COIN + 1000)
|
assert_equal(mempool[x]['ancestorfees'], ancestor_fees * COIN + 1000)
|
||||||
|
|
||||||
# Undo the prioritisetransaction for later tests
|
# Undo the prioritisetransaction for later tests
|
||||||
self.nodes[0].prioritisetransaction(chain[0], -1000)
|
self.nodes[0].prioritisetransaction(chain[0], 0, -1000)
|
||||||
|
|
||||||
# Check that descendant modified fees includes fee deltas from
|
# Check that descendant modified fees includes fee deltas from
|
||||||
# prioritisetransaction
|
# prioritisetransaction
|
||||||
|
Loading…
Reference in New Issue
Block a user