Merge pull request #4523 from filecoin-project/misc/remove-log-sync
heaviestTipSet reurning nil is a ok
This commit is contained in:
commit
25c4a1bd8d
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user