Merge pull request #4523 from filecoin-project/misc/remove-log-sync

heaviestTipSet reurning nil is a ok
This commit is contained in:
Łukasz Magiera 2020-10-22 17:16:02 +02:00 committed by GitHub
commit 25c4a1bd8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,7 +257,6 @@ func (stb *syncTargetBucket) add(ts *types.TipSet) {
func (stb *syncTargetBucket) heaviestTipSet() *types.TipSet { func (stb *syncTargetBucket) heaviestTipSet() *types.TipSet {
if stb == nil { if stb == nil {
log.Warn("sync target bucket was nil when heaviestTipSet got called on it")
return nil return nil
} }