diff --git a/mining/mining.go b/mining/mining.go index f181ae100..db41dfebc 100644 --- a/mining/mining.go +++ b/mining/mining.go @@ -463,6 +463,8 @@ func (g *BlkTmplGenerator) NewBlockTemplate(payToAddress util.Address) (*BlockTe // Calculate the fee in Satoshi/kB. prioItem.feePerKB = txDesc.FeePerKB prioItem.fee = txDesc.Fee + + heap.Push(priorityQueue, prioItem) } // The starting block size is the size of the block header plus the max