aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2019-01-22 11:33:42 +0800
committerMission Liao <mission.liao@dexon.org>2019-01-28 16:19:51 +0800
commitd7fb0125771e243e9376bf634d3fbe9ffe5e8a23 (patch)
treee712632c28aca47bec39524f116335df78f0b0bb
parent6907a35141f4ab9c5c0d8fc2cb31eaaf60f0c867 (diff)
downloaddexon-consensus-d7fb0125771e243e9376bf634d3fbe9ffe5e8a23.tar.gz
dexon-consensus-d7fb0125771e243e9376bf634d3fbe9ffe5e8a23.tar.zst
dexon-consensus-d7fb0125771e243e9376bf634d3fbe9ffe5e8a23.zip
Add TODO
-rw-r--r--core/syncer/consensus.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/syncer/consensus.go b/core/syncer/consensus.go
index 75c1067..b59e6b5 100644
--- a/core/syncer/consensus.go
+++ b/core/syncer/consensus.go
@@ -405,6 +405,7 @@ func (con *Consensus) processFinalizedBlock(block *types.Block) error {
}
con.validatedChains[b.Position.ChainID] = struct{}{}
}
+ // TODO(mission): check consensus timestamp.
con.finalizedBlockHashes = con.finalizedBlockHashes[len(delivered):]
return nil
}