mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-10-14 00:59:33 +00:00
[DEV-346] Added missed push into priority queue (#155)
This commit is contained in:
parent
e76ce06acd
commit
7195160219
@ -463,6 +463,8 @@ func (g *BlkTmplGenerator) NewBlockTemplate(payToAddress util.Address) (*BlockTe
|
|||||||
// Calculate the fee in Satoshi/kB.
|
// Calculate the fee in Satoshi/kB.
|
||||||
prioItem.feePerKB = txDesc.FeePerKB
|
prioItem.feePerKB = txDesc.FeePerKB
|
||||||
prioItem.fee = txDesc.Fee
|
prioItem.fee = txDesc.Fee
|
||||||
|
|
||||||
|
heap.Push(priorityQueue, prioItem)
|
||||||
}
|
}
|
||||||
|
|
||||||
// The starting block size is the size of the block header plus the max
|
// The starting block size is the size of the block header plus the max
|
||||||
|
Loading…
x
Reference in New Issue
Block a user