diff --git a/src/Neo.VM/ReferenceCounter/ReferenceCounterV2.cs b/src/Neo.VM/ReferenceCounter/ReferenceCounterV2.cs index b3db7548cf..614dfa196d 100644 --- a/src/Neo.VM/ReferenceCounter/ReferenceCounterV2.cs +++ b/src/Neo.VM/ReferenceCounter/ReferenceCounterV2.cs @@ -47,7 +47,7 @@ public void AddStackReference(StackItem item, int count = 1) _referencesCount += count; if (_referencesCount > _limits.MaxStackSize) - throw new IndexOutOfRangeException("Circular reference detected, execution stopped."); + throw new IndexOutOfRangeException("Circular reference or too many VM StackItems."); if (item is CompoundType compoundType) { // Increment the item's stack references by the specified count.