Revert "common/math: fix typo in comment (#27561)"

This reverts commit 00e87a7fdf.
This commit is contained in:
devopsbo3 2023-11-10 12:27:53 -06:00 committed by GitHub
parent cfe89e8de7
commit e05defd8ca

View file

@ -82,7 +82,7 @@ func (i *HexOrDecimal256) MarshalText() ([]byte, error) {
// it however accepts either "0x"-prefixed (hex encoded) or non-prefixed (decimal) // it however accepts either "0x"-prefixed (hex encoded) or non-prefixed (decimal)
type Decimal256 big.Int type Decimal256 big.Int
// NewDecimal256 creates a new Decimal256 // NewHexOrDecimal256 creates a new Decimal256
func NewDecimal256(x int64) *Decimal256 { func NewDecimal256(x int64) *Decimal256 {
b := big.NewInt(x) b := big.NewInt(x)
d := Decimal256(*b) d := Decimal256(*b)