浏览代码

core/vm: fix typos in jump_table.go

Jay Guo 8 年之前
父节点
当前提交
924098c6e5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/vm/jump_table.go

+ 2 - 2
core/vm/jump_table.go

@@ -42,12 +42,12 @@ type operation struct {
 	// memorySize returns the memory size required for the operation
 	// memorySize returns the memory size required for the operation
 	memorySize memorySizeFunc
 	memorySize memorySizeFunc
 
 
-	halts   bool // indicates whether the operation shoult halt further execution
+	halts   bool // indicates whether the operation should halt further execution
 	jumps   bool // indicates whether the program counter should not increment
 	jumps   bool // indicates whether the program counter should not increment
 	writes  bool // determines whether this a state modifying operation
 	writes  bool // determines whether this a state modifying operation
 	valid   bool // indication whether the retrieved operation is valid and known
 	valid   bool // indication whether the retrieved operation is valid and known
 	reverts bool // determines whether the operation reverts state (implicitly halts)
 	reverts bool // determines whether the operation reverts state (implicitly halts)
-	returns bool // determines whether the opertions sets the return data content
+	returns bool // determines whether the operations sets the return data content
 }
 }
 
 
 var (
 var (