From cea42505dd61ea85ee41e8b1aa98d4ae7add9e72 Mon Sep 17 00:00:00 2001 From: Jin Date: Tue, 27 Feb 2024 19:42:58 +0800 Subject: [PATCH] BUG:process block log --- core/blockchain/process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/blockchain/process.go b/core/blockchain/process.go index 89c50477..da6c7f68 100644 --- a/core/blockchain/process.go +++ b/core/blockchain/process.go @@ -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) }