Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Jun 15, 2024
1 parent fc8e1d5 commit 38fa60f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/relayer/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func decodeDataAsERC20(decodedData []byte) (CanonicalToken, *big.Int, error) {

// Boundary check
if startIndex >= int64(len(decodedData)) {
slog.Info("startIndex greater than decodedData length",
slog.Warn("startIndex greater than decodedData length",
"startIndex", startIndex,
"lenDecodedData", int64(len(decodedData)),
)
Expand Down Expand Up @@ -208,7 +208,7 @@ func decodeDataAsNFT(decodedData []byte) (EventType, CanonicalToken, *big.Int, e

// Boundary check
if startIndex >= int64(len(decodedData)) {
slog.Info("startIndex greater than decodedData length",
slog.Warn("startIndex greater than decodedData length",
"startIndex", startIndex,
"lenDecodedData", int64(len(decodedData)),
)
Expand Down

0 comments on commit 38fa60f

Please sign in to comment.