rpc: Rename size to vsize in mempool related calls

This commit is contained in:
Miguel Herranz
2018-04-17 20:17:13 +02:00
committed by fanquake
parent 7b13c64645
commit e16b6a7188
4 changed files with 15 additions and 9 deletions

View File

@ -64,7 +64,7 @@ class PrioritiseTransactionTest(BitcoinTestFramework):
for i in range(3):
for j in txids[i]:
assert j in mempool
sizes[i] += mempool[j]['size']
sizes[i] += mempool[j]['vsize']
assert sizes[i] > MAX_BLOCK_BASE_SIZE # Fail => raise utxo_count
# add a fee delta to something in the cheapest bucket and make sure it gets mined