From 267edfd29cdd479e74546497b939ae13ff13a8aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CGheisMohammadi=E2=80=9D?= <36589218+GheisMohammadi@users.noreply.github.com> Date: Fri, 10 Feb 2023 22:59:05 +0800 Subject: [PATCH] fix log --- api/service/legacysync/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/service/legacysync/helpers.go b/api/service/legacysync/helpers.go index ae1fc34f1..14dac994d 100644 --- a/api/service/legacysync/helpers.go +++ b/api/service/legacysync/helpers.go @@ -51,7 +51,7 @@ func getMaxPeerHeight(syncConfig *SyncConfig) (uint64, error) { wg.Wait() 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