aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Guo <guojiannan1101@gmail.com>2017-11-14 17:44:40 +0800
committerJay Guo <guojiannan1101@gmail.com>2017-11-14 17:57:37 +0800
commit924098c6e5c72b1b4bd8c6951c246e1f42001e17 (patch)
treed76c960b39a0065ac8fceef6c2cf86a93a32a1a4
parentb81a9cd829576622ac4fb8f2131e33b7460710b0 (diff)
downloaddexon-924098c6e5c72b1b4bd8c6951c246e1f42001e17.tar.gz
dexon-924098c6e5c72b1b4bd8c6951c246e1f42001e17.tar.zst
dexon-924098c6e5c72b1b4bd8c6951c246e1f42001e17.zip
core/vm: fix typos in jump_table.go
-rw-r--r--core/vm/jump_table.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/vm/jump_table.go b/core/vm/jump_table.go
index 9ef192fdf..a1c5ad9c6 100644
--- a/core/vm/jump_table.go
+++ b/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 (