Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Jan 7, 2025
1 parent 226163b commit e5cfb56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seth/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ func mustSafeInt(input uint64) int {

func mustSafeUint64(input int64) uint64 {
if input < 0 {
panic(fmt.Errorf("int64 %d exceeds uint64 max value", input))
panic(fmt.Errorf("int64 %d is below uint64 min value", input))
}
return uint64(input)
}

0 comments on commit e5cfb56

Please sign in to comment.