add warning if no tipset found
This commit is contained in:
parent
e2dc8c8cee
commit
6ae38740a1
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user