[DEV-346] Added missed push into priority queue (#155)

This commit is contained in:
Evgeny Khirin 2019-01-10 11:46:37 +02:00 committed by Ori Newman
parent e76ce06acd
commit 7195160219

View File

@ -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