Skip to content

Commit de72e2d

Browse files
authored
remove unused check (#1765)
1 parent edb5123 commit de72e2d

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

bridge-history-api/internal/logic/history_logic.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,6 @@ func (h *HistoryLogic) GetL2UnclaimedWithdrawalsByAddress(ctx context.Context, a
9797
return nil, 0, errors.New("unexpected error")
9898
}
9999

100-
if len(txHistoryInfos) == 0 {
101-
log.Error("failed to get L2 claimable withdrawals by address len = 0", "address", address)
102-
return nil, 0, errors.New("unexpected error")
103-
}
104-
105100
return h.processAndCacheTxHistoryInfo(ctx, cacheKey, txHistoryInfos, page, pageSize)
106101
}
107102

common/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"runtime/debug"
66
)
77

8-
var tag = "v4.7.3"
8+
var tag = "v4.7.4"
99

1010
var commit = func() string {
1111
if info, ok := debug.ReadBuildInfo(); ok {

0 commit comments

Comments
 (0)