From 5461548b7e5b97c06f533354dd8f4ea78d139ffd Mon Sep 17 00:00:00 2001 From: vyzo Date: Mon, 13 Mar 2023 05:57:26 +0200 Subject: [PATCH] fix comment typo --- chain/index/msgindex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/index/msgindex.go b/chain/index/msgindex.go index cb18eee3b..e3a731989 100644 --- a/chain/index/msgindex.go +++ b/chain/index/msgindex.go @@ -189,7 +189,7 @@ func reconcileIndex(db *sql.DB, cs ChainStore) error { // Invariant: after reconciliation, every tipset in the index is in the current chain; ie either // the chain head or reachable by walking the chain. // Algorithm: - // 1. Count mesages in index; if none, trivially reconciled. + // 1. Count messages in index; if none, trivially reconciled. // TODO we may consider populating the index in that case // 2. Find the minimum tipset in the index; this will mark the end of the reconciliation walk // 3. Walk from current tipset until we find a tipset in the index.