mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Add parent to info print when adding orphans.
This commit is contained in:
parent
ebd4af80f0
commit
3c4292fae3
@ -144,7 +144,8 @@ func (b *BlockChain) ProcessBlock(block *btcutil.Block) error {
|
||||
prevHash := &blockHeader.PrevBlock
|
||||
if !prevHash.IsEqual(zeroHash) && !b.blockExists(prevHash) {
|
||||
// Add the orphan block to the orphan pool.
|
||||
log.Infof("Adding orphan block %v", blockHash)
|
||||
log.Infof("Adding orphan block %v with parent %v", blockHash,
|
||||
prevHash)
|
||||
b.addOrphanBlock(block)
|
||||
|
||||
// Get the hash for the head of the orphaned block chain for
|
||||
|
Loading…
x
Reference in New Issue
Block a user