forked from TrueCloudLab/neoneo-go
smartcontract: support "ByteArray" string for ByteArrayType
We actually do emit it ourselves in String()
This commit is contained in:
parent
3fa9de764b
commit
6a3be6081c
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ func parseParamType(typ string) (ParamType, error) {
|
||||||
return Hash160Type, nil
|
return Hash160Type, nil
|
||||||
case "hash256":
|
case "hash256":
|
||||||
return Hash256Type, nil
|
return Hash256Type, nil
|
||||||
case "bytes":
|
case "bytes", "bytearray":
|
||||||
return ByteArrayType, nil
|
return ByteArrayType, nil
|
||||||
case "key":
|
case "key":
|
||||||
return PublicKeyType, nil
|
return PublicKeyType, nil
|
||||||
|
|
Loading…
Reference in a new issue