Browse Source

FIX: correctly measure size of priority block

0.13
Alex Morcos 8 years ago
parent
commit
c2dd5a3c39
  1. 2
      src/miner.cpp

2
src/miner.cpp

@ -352,7 +352,7 @@ void BlockAssembler::addPriorityTxs() @@ -352,7 +352,7 @@ void BlockAssembler::addPriorityTxs()
// If now that this txs is added we've surpassed our desired priority size
// or have dropped below the AllowFreeThreshold, then we're done adding priority txs
if (nBlockSize + iter->GetTxSize() >= nBlockPrioritySize || !AllowFree(actualPriority)) {
if (nBlockSize >= nBlockPrioritySize || !AllowFree(actualPriority)) {
return;
}

Loading…
Cancel
Save