core/vm: fix typo in method documentation (#15019)

Signed-off-by: Ti Zhou <tizhou1986@gmail.com>
This commit is contained in:
Ti Zhou 2017-08-22 17:43:36 +08:00 committed by Péter Szilágyi
parent 8c037dc487
commit 2fd5ba6bd4

View File

@ -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) {