diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-17 04:46:47 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-17 04:46:47 +0800 |
commit | 4e181c5764b78193705f91d3220710bb63b8962f (patch) | |
tree | f07b42336b6099b20585e24cef147dc4280e9555 /vm/vm.go | |
parent | 6aa390abfb8553c3cbbd5fa658f7f3788d3c262c (diff) | |
download | go-tangerine-4e181c5764b78193705f91d3220710bb63b8962f.tar go-tangerine-4e181c5764b78193705f91d3220710bb63b8962f.tar.gz go-tangerine-4e181c5764b78193705f91d3220710bb63b8962f.tar.bz2 go-tangerine-4e181c5764b78193705f91d3220710bb63b8962f.tar.lz go-tangerine-4e181c5764b78193705f91d3220710bb63b8962f.tar.xz go-tangerine-4e181c5764b78193705f91d3220710bb63b8962f.tar.zst go-tangerine-4e181c5764b78193705f91d3220710bb63b8962f.zip |
Moved gas
Diffstat (limited to 'vm/vm.go')
-rw-r--r-- | vm/vm.go | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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) - } }() } |