pull/4366/head
“GheisMohammadi” 2 years ago committed by Casey Gardiner
parent 8379ce9010
commit e795f457d0
  1. 2
      api/service/legacysync/helpers.go

@ -51,7 +51,7 @@ func getMaxPeerHeight(syncConfig *SyncConfig) (uint64, error) {
wg.Wait() wg.Wait()
if maxHeight == uint64(math.MaxUint64) { if maxHeight == uint64(math.MaxUint64) {
return 0, fmt.Errorf("[SYNC] get max peer height failed") return 0, fmt.Errorf("get max peer height failed")
} }
return maxHeight, nil return maxHeight, nil

Loading…
Cancel
Save