mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 03:30:35 +00:00
common/math: fix typo in comment (#27561)
This commit is contained in:
parent
942ba4ddaa
commit
2754b197c9
@ -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
|
||||||
|
|
||||||
// NewHexOrDecimal256 creates a new Decimal256
|
// NewDecimal256 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)
|
||||||
|
Loading…
Reference in New Issue
Block a user