good morning!!!!

Skip to content
Snippets Groups Projects
Commit 2fd5ba6b authored by Ti Zhou's avatar Ti Zhou Committed by Péter Szilágyi
Browse files

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


Signed-off-by: default avatarTi Zhou <tizhou1986@gmail.com>
parent 8c037dc4
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment