From ff58726405f128adf5c6f3e3ac7947f79ae78c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E5=90=8C?= Date: Thu, 12 Sep 2024 23:28:45 +0800 Subject: [PATCH] Fixing errors in comments (#3483) * Update OpCode.cs * Update JumpTable.Compound.cs * Update OpCode.cs --- src/Neo.VM/JumpTable/JumpTable.Compound.cs | 2 +- src/Neo.VM/OpCode.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Neo.VM/JumpTable/JumpTable.Compound.cs b/src/Neo.VM/JumpTable/JumpTable.Compound.cs index 197cc1952a..817b460cf9 100644 --- a/src/Neo.VM/JumpTable/JumpTable.Compound.cs +++ b/src/Neo.VM/JumpTable/JumpTable.Compound.cs @@ -540,7 +540,7 @@ public virtual void ClearItems(ExecutionEngine engine, Instruction instruction) /// /// The execution engine. /// The instruction being executed. - /// Pop 1, Push 0 + /// Pop 1, Push 1 [MethodImpl(MethodImplOptions.AggressiveInlining)] public virtual void PopItem(ExecutionEngine engine, Instruction instruction) { diff --git a/src/Neo.VM/OpCode.cs b/src/Neo.VM/OpCode.cs index 8ef5c0e538..6af023cb6a 100644 --- a/src/Neo.VM/OpCode.cs +++ b/src/Neo.VM/OpCode.cs @@ -2028,7 +2028,7 @@ public enum OpCode : byte /// Using this opcode will need to dup the array before using it. /// /// - /// Push: 0 item(s) + /// Push: 1 item(s) /// Pop: 1 item(s) /// ///