Skip to content

Commit

Permalink
common/math: fix typo in comment (#27561)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengin7384 authored Jun 25, 2023
1 parent 942ba4d commit 2754b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/math/big.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (i *HexOrDecimal256) MarshalText() ([]byte, error) {
// it however accepts either "0x"-prefixed (hex encoded) or non-prefixed (decimal)
type Decimal256 big.Int

// NewHexOrDecimal256 creates a new Decimal256
// NewDecimal256 creates a new Decimal256
func NewDecimal256(x int64) *Decimal256 {
b := big.NewInt(x)
d := Decimal256(*b)
Expand Down

0 comments on commit 2754b19

Please sign in to comment.