mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
[qa] Fix mempool_packages.py for the 0.14 branch
The backport in d947afc0f7 of this
test was incorrect due to an api change in prioritisetransaction.
This commit is contained in:
parent
47d24c85b7
commit
39febb8c6d
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue