Преглед изворни кода

Merge pull request #15479 from guoger/patch-1

core/vm: fix typos in jump_table.go
Péter Szilágyi пре 8 година
родитељ
комит
a3128f9099
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 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
 	writes  bool // determines whether this a state modifying operation
 	valid   bool // indication whether the retrieved operation is valid and known
 	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 (