From 367b430e58f45cdb1c53f2ea04115cd70037840b Mon Sep 17 00:00:00 2001 From: jonny rhea Date: Mon, 10 Nov 2025 14:35:38 -0600 Subject: [PATCH] comment formatting --- core/vm/instructions.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/vm/instructions.go b/core/vm/instructions.go index a357799e4e..29f1f79c49 100644 --- a/core/vm/instructions.go +++ b/core/vm/instructions.go @@ -957,7 +957,7 @@ func opDupN(pc *uint64, evm *EVM, scope *ScopeContext) ([]byte, error) { } n := decodeSingle(x) - // DUPN duplicates the n-th stack item, so the stack must contain at least n elements. + // DUPN duplicates the n'th stack item, so the stack must contain at least n elements. if scope.Stack.len() < n { return nil, &ErrStackUnderflow{stackLen: scope.Stack.len(), required: n} } @@ -1015,7 +1015,7 @@ func opExchange(pc *uint64, evm *EVM, scope *ScopeContext) ([]byte, error) { n, m := decodePair(x) need := max(n, m) + 1 - // EXCHANGE operates on the (n+1)-th and (m+1)-th stack items, + // EXCHANGE operates on the (n+1)'th and (m+1)'th stack items, // so the stack must contain at least max(n, m)+1 elements. if scope.Stack.len() < need { return nil, &ErrStackUnderflow{stackLen: scope.Stack.len(), required: need}