diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2017-04-05 08:30:51 -0400 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2017-04-05 08:30:51 -0400 |
commit | 39febb8c6dbe286946773630d0484027307e5f42 (patch) | |
tree | 22a03a536636293a972a147eb5a6d7fce15ea013 | |
parent | 47d24c85b71b854939522238f8e44c891d8674af (diff) |
[qa] Fix mempool_packages.py for the 0.14 branch
The backport in d947afc0f7868815dff248ad398c3680def5bf81 of this
test was incorrect due to an api change in prioritisetransaction.
-rwxr-xr-x | qa/rpc-tests/mempool_packages.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/rpc-tests/mempool_packages.py b/qa/rpc-tests/mempool_packages.py index f53515d32e..99e01534d6 100755 --- a/qa/rpc-tests/mempool_packages.py +++ b/qa/rpc-tests/mempool_packages.py @@ -104,7 +104,7 @@ class MempoolPackagesTest(BitcoinTestFramework): # Check that ancestor modified fees includes fee deltas from # prioritisetransaction - self.nodes[0].prioritisetransaction(chain[0], 1000) + self.nodes[0].prioritisetransaction(chain[0], 0, 1000) mempool = self.nodes[0].getrawmempool(True) ancestor_fees = 0 for x in chain: @@ -112,7 +112,7 @@ class MempoolPackagesTest(BitcoinTestFramework): assert_equal(mempool[x]['ancestorfees'], ancestor_fees * COIN + 1000) # 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 # prioritisetransaction |