accounts/abi: improve test coverage (#16044)

This commit is contained in:
Ricardo Domingos
2018-04-04 13:42:36 +02:00
committed by Felix Lange
parent 7aad81f881
commit 6ab9f0a19f
5 changed files with 82 additions and 62 deletions

View File

@ -135,7 +135,7 @@ func NewType(t string) (typ Type, err error) {
typ.Type = reflect.TypeOf(bool(false))
case "address":
typ.Kind = reflect.Array
typ.Type = address_t
typ.Type = addressT
typ.Size = 20
typ.T = AddressTy
case "string":