You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In upper case, we should convert Buffer to ByteString, as c# byte[] is NeoVM.Buffer, c# string is NeoVM.ByteString. But the compiler just igore AsString method, and return a Buffer.
Three problems:
Compiler forget to convert byte[] in argument parameter list to Buffer
AsString should convert Buffer to ByteString.
Map<Primitive, StackItem>, the key of map can only be Primitive.
The text was updated successfully, but these errors were encountered:
posted at neo-project/neo#1710 (comment)
In upper case, we should convert
Buffer
toByteString
, as c# byte[] isNeoVM.Buffer
, c# string isNeoVM.ByteString
. But the compiler just igoreAsString
method, and return aBuffer
.Three problems:
byte[]
in argument parameter list toBuffer
AsString
should convertBuffer
toByteString
.Primitive
.The text was updated successfully, but these errors were encountered: