From 738f3c5ad3f048f445dee388227e2de01d23a1af Mon Sep 17 00:00:00 2001 From: georgehao Date: Tue, 25 Nov 2025 21:59:34 +0800 Subject: [PATCH] remove unused check --- 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 466d0ff1c0..ee52ce3ac5 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 a0f9e08472..9c81caa1bf 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 {