heaviestTipSet reurning nil is a ok

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-10-21 22:16:01 +02:00
parent 8cad245f80
commit 5c9c08ef85
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -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
}