Skip to content

Commit

Permalink
Update src/Neo.VM/Types/Map.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Shargon <shargon@gmail.com>
  • Loading branch information
Jim8y and shargon authored Aug 1, 2024
1 parent 4c03b33 commit 774923f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Neo.VM/Types/Map.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public StackItem this[PrimitiveType key]
ReferenceCounter.AddReference(key, this);
if (value is CompoundType { ReferenceCounter: null })
{
throw new InvalidOperationException("Can not set a CompoundType without a ReferenceCounter.");
throw new InvalidOperationException("Can not set a Map without a ReferenceCounter.");
}
ReferenceCounter.AddReference(value, this);
}
Expand Down

0 comments on commit 774923f

Please sign in to comment.