aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-17 04:46:47 +0800
committerobscuren <geffobscura@gmail.com>2015-03-17 04:46:47 +0800
commit4e181c5764b78193705f91d3220710bb63b8962f (patch)
treef07b42336b6099b20585e24cef147dc4280e9555 /vm/vm.go
parent6aa390abfb8553c3cbbd5fa658f7f3788d3c262c (diff)
downloaddexon-4e181c5764b78193705f91d3220710bb63b8962f.tar
dexon-4e181c5764b78193705f91d3220710bb63b8962f.tar.gz
dexon-4e181c5764b78193705f91d3220710bb63b8962f.tar.bz2
dexon-4e181c5764b78193705f91d3220710bb63b8962f.tar.lz
dexon-4e181c5764b78193705f91d3220710bb63b8962f.tar.xz
dexon-4e181c5764b78193705f91d3220710bb63b8962f.tar.zst
dexon-4e181c5764b78193705f91d3220710bb63b8962f.zip
Moved gas
Diffstat (limited to 'vm/vm.go')
-rw-r--r--vm/vm.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/vm/vm.go b/vm/vm.go
index 5043babcd..4ef888e36 100644
--- a/vm/vm.go
+++ b/vm/vm.go
@@ -33,10 +33,7 @@ func New(env Environment) *Vm {
}
func (self *Vm) Run(context *Context, callData []byte) (ret []byte, err error) {
- //func (self *Vm) Run(me, caller ContextRef, code []byte, value, gas, price *big.Int, callData []byte) (ret []byte, err error) {
self.env.SetDepth(self.env.Depth() + 1)
-
- //context := NewContext(caller, me, code, gas, price)
var (
caller = context.caller
code = context.Code
@@ -57,7 +54,6 @@ func (self *Vm) Run(context *Context, callData []byte) (ret []byte, err error) {
ret = context.Return(nil)
err = fmt.Errorf("%v", r)
-
}
}()
}