aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/interpreter.go
diff options
context:
space:
mode:
authorTi Zhou <tizhou1986@gmail.com>2017-08-22 17:43:36 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-08-22 17:43:36 +0800
commit2fd5ba6bd41380cf0e21d3ec0ca4bbc4aa7b6c34 (patch)
tree627834b76e73c5df6f8b82fb89a56e5b5391f5df /core/vm/interpreter.go
parent8c037dc4875499718cc7a588b8d5e65b7d73d952 (diff)
downloadgo-tangerine-2fd5ba6bd41380cf0e21d3ec0ca4bbc4aa7b6c34.tar.gz
go-tangerine-2fd5ba6bd41380cf0e21d3ec0ca4bbc4aa7b6c34.tar.zst
go-tangerine-2fd5ba6bd41380cf0e21d3ec0ca4bbc4aa7b6c34.zip
core/vm: fix typo in method documentation (#15019)
Signed-off-by: Ti Zhou <tizhou1986@gmail.com>
Diffstat (limited to 'core/vm/interpreter.go')
-rw-r--r--core/vm/interpreter.go2
1 files changed, 1 insertions, 1 deletions
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) {