smartcontract: support "ByteArray" string for ByteArrayType

We actually do emit it ourselves in String()
This commit is contained in:
Roman Khimov 2020-02-21 15:16:30 +03:00
parent 3fa9de764b
commit 6a3be6081c

View file

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