From 6ae38740a10fcc9817a3baebe5596c7acff8de7b Mon Sep 17 00:00:00 2001 From: whyrusleeping Date: Thu, 15 Aug 2019 21:51:50 -0700 Subject: [PATCH] add warning if no tipset found --- chain/store/store.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chain/store/store.go b/chain/store/store.go index 6a83f0b69..c8c82d5ec 100644 --- a/chain/store/store.go +++ b/chain/store/store.go @@ -194,6 +194,8 @@ func (cs *ChainStore) MaybeTakeHeavierTipSet(ts *types.TipSet) error { return errors.Wrap(err, "head change func errored (BAD)") } } + } else { + log.Warn("no heaviest tipset found, using %s", ts.Cids()) } log.Infof("New heaviest tipset! %s", ts.Cids())