diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-04 17:57:09 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-04 17:57:09 +0800 |
commit | 491edc16e778e3d232f643a4b4155c4f71ef27cc (patch) | |
tree | e7f6a3e7e91208126dd8b9ab380d72f7f3a43ff1 /vm/vm_debug.go | |
parent | 83663ed4b01480c628ce2c849e4e881ac04b5120 (diff) | |
download | go-tangerine-491edc16e778e3d232f643a4b4155c4f71ef27cc.tar.gz go-tangerine-491edc16e778e3d232f643a4b4155c4f71ef27cc.tar.zst go-tangerine-491edc16e778e3d232f643a4b4155c4f71ef27cc.zip |
Fixes #189
Diffstat (limited to 'vm/vm_debug.go')
-rw-r--r-- | vm/vm_debug.go | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/vm/vm_debug.go b/vm/vm_debug.go index 712af55fa..b189a1cd1 100644 --- a/vm/vm_debug.go +++ b/vm/vm_debug.go @@ -127,27 +127,6 @@ func (self *DebugVm) Run(me, caller ClosureRef, code []byte, value, gas, price * // Get the memory location of pc op = closure.GetOp(pc) - /* - // XXX Leave this Println intact. Don't change this to the log system. - // Used for creating diffs between implementations - if self.logTy == LogTyDiff { - switch op { - case STOP, RETURN, SUICIDE: - statedb.GetStateObject(closure.Address()).EachStorage(func(key string, value *ethutil.Value) { - value.Decode() - fmt.Printf("%x %x\n", new(big.Int).SetBytes([]byte(key)).Bytes(), value.Bytes()) - }) - } - - b := pc.Bytes() - if len(b) == 0 { - b = []byte{0} - } - - fmt.Printf("%x %x %x %x\n", closure.Address(), b, []byte{byte(op)}, closure.Gas.Bytes()) - } - */ - gas := new(big.Int) addStepGasUsage := func(amount *big.Int) { if amount.Cmp(ethutil.Big0) >= 0 { |