From bcb7b9ba63adc3beba94ea4bddab803cf3b8387c Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Wed, 12 Aug 2020 17:00:21 +0300 Subject: [PATCH] smartcontract: rename parameter ByteString to ByteArray Debugger expects it to be ByteArray. C# compiler also compiles it as `ByteArray` (in both manifest and debug.json). The previous commit 6a2161207afcdcb699fc2ad9776e03959c1aa016 changed this line as C# implementation serializes Blockchain.ApplicationExecuted.Stack as array of stackitem.Item and deserializes it as array of smartcontract.Parameter. --- pkg/smartcontract/param_type.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/smartcontract/param_type.go b/pkg/smartcontract/param_type.go index eb7c7b2b7..20b13df43 100644 --- a/pkg/smartcontract/param_type.go +++ b/pkg/smartcontract/param_type.go @@ -49,7 +49,7 @@ func (pt ParamType) String() string { case Hash256Type: return "Hash256" case ByteArrayType: - return "ByteString" + return "ByteArray" case PublicKeyType: return "PublicKey" case StringType: