aboutsummaryrefslogtreecommitdiffstats
path: root/core/total-ordering-syncer.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/total-ordering-syncer.go')
-rw-r--r--core/total-ordering-syncer.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/total-ordering-syncer.go b/core/total-ordering-syncer.go
index aa90a1d..1360611 100644
--- a/core/total-ordering-syncer.go
+++ b/core/total-ordering-syncer.go
@@ -156,6 +156,9 @@ func (tos *totalOrderingSyncer) processBlock(
// The finalized block should be passed by the order of consensus height.
func (tos *totalOrderingSyncer) processFinalizedBlock(block *types.Block) {
+ if tos.synced() {
+ return
+ }
tos.lock.Lock()
defer tos.lock.Unlock()
if len(tos.pendingDeliveryBlocks) > 0 {