Skip to content

Commit a6f11c6

Browse files
committed
fix: typo in error message
1 parent e5ffb2d commit a6f11c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/point.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func ParseHeightString(s string) (Height, error) {
3636

3737
i, err := strconv.ParseInt(n, 10, 64)
3838
if err != nil {
39-
return NilHeight, errors.Wrap(err, "seHeightString")
39+
return NilHeight, errors.Wrap(err, "ParseHeightString")
4040
}
4141

4242
return Height(i), nil
@@ -45,7 +45,7 @@ func ParseHeightString(s string) (Height, error) {
4545
func ParseHeightBytes(b []byte) (Height, error) {
4646
i, err := util.BigBytesToInt64(b)
4747
if err != nil {
48-
return NilHeight, errors.Wrap(err, "seHeightBytes")
48+
return NilHeight, errors.Wrap(err, "ParseHeightBytes")
4949
}
5050

5151
return Height(i), nil

0 commit comments

Comments
 (0)