From 532ec8e2c13263126e7ed98f9ae0b97d04143084 Mon Sep 17 00:00:00 2001 From: Nick Johnson Date: Thu, 18 Oct 2018 13:02:48 +0100 Subject: [PATCH] Fix reversion for formatting of big numbers --- common/hexutil/json.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/common/hexutil/json.go b/common/hexutil/json.go index cbe0943a2d..dd6a50b81b 100644 --- a/common/hexutil/json.go +++ b/common/hexutil/json.go @@ -221,10 +221,6 @@ func (b *Big) UnmarshalGraphQL(input interface{}) error { return err } -func (b Big) MarshalJSON() ([]byte, error) { - return strconv.AppendQuote(nil, (*big.Int)(&b).Text(10)), nil -} - // Uint64 marshals/unmarshals as a JSON string with 0x prefix. // The zero value marshals as "0x0". type Uint64 uint64