From 344bf9d6bb890ab76f95a5376aaaf5d00acb1956 Mon Sep 17 00:00:00 2001 From: YESUNFEI <1429460318@qq.com> Date: Thu, 12 Dec 2024 15:21:08 +0800 Subject: [PATCH] refactor: remove comment --- bridge-history-api/internal/utils/utils.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bridge-history-api/internal/utils/utils.go b/bridge-history-api/internal/utils/utils.go index 6e145c94d..da6f19538 100644 --- a/bridge-history-api/internal/utils/utils.go +++ b/bridge-history-api/internal/utils/utils.go @@ -173,8 +173,7 @@ func GetBlocksInRange(ctx context.Context, cli *ethclient.Client, start, end uin // ConvertBigIntArrayToString convert the big int array to string func ConvertBigIntArrayToString(array []*big.Int) string { var sb strings.Builder - // Preallocate capacity (assuming ~20 chars per number plus separator) - sb.Grow(len(array) * 22) + sb.Grow(len(array) * 22) for i, num := range array { if i > 0 { sb.WriteString(", ")