From 2fd5ba6bd41380cf0e21d3ec0ca4bbc4aa7b6c34 Mon Sep 17 00:00:00 2001
From: Ti Zhou <tizhou1986@gmail.com>
Date: Tue, 22 Aug 2017 17:43:36 +0800
Subject: [PATCH] core/vm: fix typo in method documentation (#15019)

Signed-off-by: Ti Zhou <tizhou1986@gmail.com>
---
 core/vm/interpreter.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/vm/interpreter.go b/core/vm/interpreter.go
index 0466bf085..d3e24a7a4 100644
--- a/core/vm/interpreter.go
+++ b/core/vm/interpreter.go
@@ -92,7 +92,7 @@ func (in *Interpreter) enforceRestrictions(op OpCode, operation operation, stack
 		if in.readOnly {
 			// If the interpreter is operating in readonly mode, make sure no
 			// state-modifying operation is performed. The 3rd stack item
-			// for a call operation is the value. Transfering value from one
+			// for a call operation is the value. Transferring value from one
 			// account to the others means the state is modified and should also
 			// return with an error.
 			if operation.writes || (op == CALL && stack.Back(2).BitLen() > 0) {
-- 
GitLab