From de72e2dccb8edbaa16703a42a2488d3d46164261 Mon Sep 17 00:00:00 2001 From: georgehao Date: Tue, 25 Nov 2025 22:12:16 +0800 Subject: [PATCH] remove unused check (#1765) --- bridge-history-api/internal/logic/history_logic.go | 5 ----- common/version/version.go | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/bridge-history-api/internal/logic/history_logic.go b/bridge-history-api/internal/logic/history_logic.go index 466d0ff1c..ee52ce3ac 100644 --- a/bridge-history-api/internal/logic/history_logic.go +++ b/bridge-history-api/internal/logic/history_logic.go @@ -97,11 +97,6 @@ func (h *HistoryLogic) GetL2UnclaimedWithdrawalsByAddress(ctx context.Context, a return nil, 0, errors.New("unexpected error") } - if len(txHistoryInfos) == 0 { - log.Error("failed to get L2 claimable withdrawals by address len = 0", "address", address) - return nil, 0, errors.New("unexpected error") - } - return h.processAndCacheTxHistoryInfo(ctx, cacheKey, txHistoryInfos, page, pageSize) } diff --git a/common/version/version.go b/common/version/version.go index a0f9e0847..9c81caa1b 100644 --- a/common/version/version.go +++ b/common/version/version.go @@ -5,7 +5,7 @@ import ( "runtime/debug" ) -var tag = "v4.7.3" +var tag = "v4.7.4" var commit = func() string { if info, ok := debug.ReadBuildInfo(); ok {