[golint] fix lint error in math/big.go

Signed-off-by: Leo Chen <leo@harmony.one>
pull/3493/head
Leo Chen 4 years ago
parent 34499c4ab2
commit fa73ff45a2
  1. 2
      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)

Loading…
Cancel
Save