mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
Fix reversion for formatting of big numbers
This commit is contained in:
parent
5719808582
commit
532ec8e2c1
1 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue