Skip to content

Commit

Permalink
Merge pull request #617 from lochjin/dev1.2_bug
Browse files Browse the repository at this point in the history
BUG:process block log
  • Loading branch information
dindinw authored Feb 27, 2024
2 parents cd8d0d5 + cea4250 commit 1c3fd2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/blockchain/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func (b *BlockChain) maybeAcceptBlock(block *types.SerializedBlock, flags Behavi
}
}

if flags.Has(BFP2PAdd) {
if flags.Has(BFP2PAdd) || flags.Has(BFBroadcast) {
b.progressLogger.LogBlockOrder(ib.GetOrder(), block)
}

Expand Down

0 comments on commit 1c3fd2a

Please sign in to comment.