Skip to content

Commit d86ee94

Browse files
authored
chore: fix typos (#611)
1 parent 75a4537 commit d86ee94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rpctypes/rpctypes.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ func (i *implPolyTransaction) MarshalJSON() ([]byte, error) {
548548
return json.Marshal(i.inner)
549549
}
550550

551-
// HexToBigInt assumes that it's input is a hex encoded string and
551+
// ConvHexToBigInt assumes that it's input is a hex encoded string and
552552
// will try to convert it to a big int
553553
func ConvHexToBigInt(raw any) (bi *big.Int, err error) {
554554
bi = big.NewInt(0)
@@ -593,7 +593,7 @@ func rawRespToString(raw any) (string, error) {
593593
return hexString, nil
594594
}
595595

596-
// HexToUint64 assumes that its input is a hex encoded string and it
596+
// ConvHexToUint64 assumes that its input is a hex encoded string and it
597597
// will attempt to convert this into a uint64
598598
func ConvHexToUint64(raw any) (uint64, error) {
599599
hexString, err := rawRespToString(raw)

0 commit comments

Comments
 (0)