aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-27 18:44:16 +0800
committerobscuren <geffobscura@gmail.com>2014-10-27 18:44:16 +0800
commit272d58662c885ab1cef8930e96fb832ae5377d96 (patch)
treee040eaec5c7e895dd6aaadedbbe30054aaa5e805 /vm/vm.go
parent6623500c6b2e5fe9fa41a1ce75269955af6026e8 (diff)
downloaddexon-272d58662c885ab1cef8930e96fb832ae5377d96.tar.gz
dexon-272d58662c885ab1cef8930e96fb832ae5377d96.tar.zst
dexon-272d58662c885ab1cef8930e96fb832ae5377d96.zip
Implemented LOG. Closes #159
Diffstat (limited to 'vm/vm.go')
-rw-r--r--vm/vm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm.go b/vm/vm.go
index 291f1cda4..599c8ca41 100644
--- a/vm/vm.go
+++ b/vm/vm.go
@@ -268,7 +268,7 @@ func (self *Vm) RunClosure(closure *Closure) (ret []byte, err error) {
U256(base)
stack.Push(base)
- case NEG:
+ case BNOT:
require(1)
base.Sub(Pow256, stack.Pop())