aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAbel Nieto <abel.nieto90@gmail.com>2018-05-23 20:02:10 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-05-23 20:02:10 +0800
commitbe22ee8ddac890044ca66500f4f8b32c635e3d1f (patch)
tree6c52a179759bb67a5790258e0f15c76cece0c807 /core
parent56de337e57f481366ea96d0159a81bad48e9fe43 (diff)
downloadgo-tangerine-be22ee8ddac890044ca66500f4f8b32c635e3d1f.tar.gz
go-tangerine-be22ee8ddac890044ca66500f4f8b32c635e3d1f.tar.zst
go-tangerine-be22ee8ddac890044ca66500f4f8b32c635e3d1f.zip
core/vm: fix typo in instructions.go (#16788)
Diffstat (limited to 'core')
-rw-r--r--core/vm/instructions.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/instructions.go b/core/vm/instructions.go
index 0689ee39c..3a67e1865 100644
--- a/core/vm/instructions.go
+++ b/core/vm/instructions.go
@@ -850,7 +850,7 @@ func makePush(size uint64, pushByteSize int) executionFunc {
}
}
-// make push instruction function
+// make dup instruction function
func makeDup(size int64) executionFunc {
return func(pc *uint64, evm *EVM, contract *Contract, memory *Memory, stack *Stack) ([]byte, error) {
stack.dup(evm.interpreter.intPool, int(size))