Update common/types.go

Co-Authored-By: Arachnid <arachnid@notdot.net>
This commit is contained in:
Martin Holst Swende 2018-10-19 09:14:59 +01:00 committed by GitHub
parent 1c5ed0d5f3
commit 84874ac2d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
} }