heaviestTipSet reurning nil is a ok
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
8cad245f80
commit
5c9c08ef85
@ -257,7 +257,6 @@ func (stb *syncTargetBucket) add(ts *types.TipSet) {
|
||||
|
||||
func (stb *syncTargetBucket) heaviestTipSet() *types.TipSet {
|
||||
if stb == nil {
|
||||
log.Warn("sync target bucket was nil when heaviestTipSet got called on it")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user