Skip to content

Commit

Permalink
update int parsing bit size
Browse files Browse the repository at this point in the history
  • Loading branch information
EasterTheBunny committed May 8, 2024
1 parent a62417f commit f91545a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/chains/evm/logpoller/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ func valuesFromCursor(cursor string) (int64, string, int, error) {
return 0, "", 0, fmt.Errorf("%w: block number not parsable as int64", ErrUnexpectedCursorFormat)
}

logIdx, err := strconv.ParseInt(parts[2], 10, 64)
logIdx, err := strconv.ParseInt(parts[2], 10, 32)
if err != nil {
return 0, "", 0, fmt.Errorf("%w: log index not parsable as int", ErrUnexpectedCursorFormat)
}
Expand Down

0 comments on commit f91545a

Please sign in to comment.