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