Skip to content

Commit

Permalink
Update src/Neo/SmartContract/ApplicationEngine.Runtime.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Anna Shaleva <[email protected]>
  • Loading branch information
Jim8y and AnnaShaleva authored Aug 18, 2023
1 parent 780103a commit 3f10c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Neo/SmartContract/ApplicationEngine.Runtime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ private static bool CheckItemType(StackItem item, ContractParameterType type)
return aType is StackItemType.Any or StackItemType.ByteString or StackItemType.Buffer;
case ContractParameterType.String:
{
if (aType is StackItemType.Any or StackItemType.ByteString or StackItemType.Buffer)
if (aType is StackItemType.ByteString or StackItemType.Buffer)
{
try
{
Expand Down

0 comments on commit 3f10c96

Please sign in to comment.