From 983ae22a0318fa7e6afef3ae5fe6fdddb83ac8d6 Mon Sep 17 00:00:00 2001 From: whyrusleeping Date: Tue, 8 Oct 2019 09:30:20 +0900 Subject: [PATCH] remove outdated comment --- chain/sync.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/chain/sync.go b/chain/sync.go index fc2ac38e8..cd288d7ee 100644 --- a/chain/sync.go +++ b/chain/sync.go @@ -627,9 +627,6 @@ loop: return blockSet, nil } - // TODO: handle the case where we are on a fork and its not a simple fast forward - // need to walk back to either a common ancestor, or until we hit the fork length threshold. - log.Warnf("(fork detected) synced header chain (%s - %d) does not link to our best block (%s - %d)", from.Cids(), from.Height(), to.Cids(), to.Height()) fork, err := syncer.syncFork(ctx, last, to) if err != nil {