stackitem: change ByteArray type to ByteString

Adjust only string representation.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2020-07-29 12:13:07 +03:00
parent 87119da2f7
commit b53f0257f5
9 changed files with 36 additions and 36 deletions

View file

@ -206,7 +206,7 @@ func (c *codegen) scTypeFromExpr(typ ast.Expr) string {
return "Struct"
case *types.Slice:
if isByte(t.Elem()) {
return "ByteArray"
return "ByteString"
}
return "Array"
default: