From fa73ff45a2ac859b8ace953acf2bc86b4c142c91 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Sat, 16 Jan 2021 09:12:48 +0000 Subject: [PATCH] [golint] fix lint error in math/big.go Signed-off-by: Leo Chen --- common/math/big.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/math/big.go b/common/math/big.go index 1af5b4d87..26f6dab33 100644 --- a/common/math/big.go +++ b/common/math/big.go @@ -71,7 +71,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)