From 06ad14b964df554968fb66d7bb40d82bac2ebfec Mon Sep 17 00:00:00 2001 From: whyrusleeping Date: Thu, 1 Aug 2019 17:57:29 -0700 Subject: [PATCH] add note about why error isnt dropped --- chain/store/store.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chain/store/store.go b/chain/store/store.go index 8dcf49063..a6d724765 100644 --- a/chain/store/store.go +++ b/chain/store/store.go @@ -584,6 +584,8 @@ func (cs *ChainStore) TryFillTipSet(ts *types.TipSet) (*FullTipSet, error) { for _, b := range ts.Blocks() { msgs, err := cs.MessagesForBlock(b) if err != nil { + // TODO: check for 'not found' errors, and only return nil if this + // is actually a 'not found' error return nil, nil }