mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "common/math: fix typo in comment (#27561)"
This reverts commit 00e87a7fdf.
This commit is contained in:
parent
cfe89e8de7
commit
e05defd8ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
// NewDecimal256 creates a new Decimal256
|
||||
// NewHexOrDecimal256 creates a new Decimal256
|
||||
func NewDecimal256(x int64) *Decimal256 {
|
||||
b := big.NewInt(x)
|
||||
d := Decimal256(*b)
|
||||
|
|
|
|||
Loading…
Reference in a new issue