mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
Update common/types.go
Co-Authored-By: Arachnid <arachnid@notdot.net>
This commit is contained in:
parent
1c5ed0d5f3
commit
84874ac2d8
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ func (a *Address) UnmarshalGraphQL(input interface{}) error {
|
||||||
case string:
|
case string:
|
||||||
*a = HexToAddress(input)
|
*a = HexToAddress(input)
|
||||||
default:
|
default:
|
||||||
err = fmt.Errorf("Unexpected type for Hash: %v", input)
|
err = fmt.Errorf("Unexpected type for Address: %v", input)
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue