Skip to content

Commit

Permalink
fix wrong err check
Browse files Browse the repository at this point in the history
  • Loading branch information
omerfirmak committed Sep 3, 2024
1 parent 024a49c commit bec2ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup/ccc/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (l *Logger) logPrecompileAccess(to common.Address, inputLen uint64, inputFn
l.modExpUsage += rowsPerModExpCall
if inputLen >= 96 {
input, err := inputFn(64, 32)
if err != nil {
if err == nil {
outputLen = new(big.Int).SetBytes(input).Uint64() // mSize
}
}
Expand Down

0 comments on commit bec2ffe

Please sign in to comment.