Skip to content

Commit e5cfb56

Browse files
committed
fix error message
1 parent 226163b commit e5cfb56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seth/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ func mustSafeInt(input uint64) int {
475475

476476
func mustSafeUint64(input int64) uint64 {
477477
if input < 0 {
478-
panic(fmt.Errorf("int64 %d exceeds uint64 max value", input))
478+
panic(fmt.Errorf("int64 %d is below uint64 min value", input))
479479
}
480480
return uint64(input)
481481
}

0 commit comments

Comments
 (0)