aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/prioritise_transaction.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-12-04 16:16:11 +0100
committerMarcoFalke <falke.marco@gmail.com>2016-12-04 21:30:20 +0100
commitfa2ecc48fb84f5d74807acb162b46ccece6f4caa (patch)
tree5177a77b79e94c44bea535280722f0b49292b2ae /qa/rpc-tests/prioritise_transaction.py
parent9e4bb312e6958d2baa309ba670e5eed1523c6f47 (diff)
downloadbitcoin-fa2ecc48fb84f5d74807acb162b46ccece6f4caa.tar.xz
[qa] pruning: Use cached utxo set to run faster
Diffstat (limited to 'qa/rpc-tests/prioritise_transaction.py')
-rwxr-xr-xqa/rpc-tests/prioritise_transaction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/prioritise_transaction.py b/qa/rpc-tests/prioritise_transaction.py
index 85afeab2e3..b7459c80cb 100755
--- a/qa/rpc-tests/prioritise_transaction.py
+++ b/qa/rpc-tests/prioritise_transaction.py
@@ -39,7 +39,7 @@ class PrioritiseTransactionTest(BitcoinTestFramework):
txids.append([])
start_range = i * range_size
end_range = start_range + range_size
- txids[i] = create_lots_of_big_transactions(self.nodes[0], self.txouts, utxos[start_range:end_range], (i+1)*base_fee)
+ txids[i] = create_lots_of_big_transactions(self.nodes[0], self.txouts, utxos[start_range:end_range], end_range - start_range, (i+1)*base_fee)
# Make sure that the size of each group of transactions exceeds
# MAX_BLOCK_BASE_SIZE -- otherwise the test needs to be revised to create