Skip to content

Commit 2fd5ba6

Browse files
tizhou86karalabe
authored andcommitted
core/vm: fix typo in method documentation (#15019)
Signed-off-by: Ti Zhou <tizhou1986@gmail.com>
1 parent 8c037dc commit 2fd5ba6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎core/vm/interpreter.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (in *Interpreter) enforceRestrictions(op OpCode, operation operation, stack
9292
if in.readOnly {
9393
// If the interpreter is operating in readonly mode, make sure no
9494
// state-modifying operation is performed. The 3rd stack item
95-
// for a call operation is the value. Transfering value from one
95+
// for a call operation is the value. Transferring value from one
9696
// account to the others means the state is modified and should also
9797
// return with an error.
9898
if operation.writes || (op == CALL && stack.Back(2).BitLen() > 0) {

0 commit comments

Comments
 (0)