Skip to content

Commit 491edc1

Browse files
committed
1 parent 83663ed commit 491edc1

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

‎vm/vm_debug.go‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -127,27 +127,6 @@ func (self *DebugVm) Run(me, caller ClosureRef, code []byte, value, gas, price *
127127
// Get the memory location of pc
128128
op = closure.GetOp(pc)
129129

130-
/*
131-
// XXX Leave this Println intact. Don't change this to the log system.
132-
// Used for creating diffs between implementations
133-
if self.logTy == LogTyDiff {
134-
switch op {
135-
case STOP, RETURN, SUICIDE:
136-
statedb.GetStateObject(closure.Address()).EachStorage(func(key string, value *ethutil.Value) {
137-
value.Decode()
138-
fmt.Printf("%x %x\n", new(big.Int).SetBytes([]byte(key)).Bytes(), value.Bytes())
139-
})
140-
}
141-
142-
b := pc.Bytes()
143-
if len(b) == 0 {
144-
b = []byte{0}
145-
}
146-
147-
fmt.Printf("%x %x %x %x\n", closure.Address(), b, []byte{byte(op)}, closure.Gas.Bytes())
148-
}
149-
*/
150-
151130
gas := new(big.Int)
152131
addStepGasUsage := func(amount *big.Int) {
153132
if amount.Cmp(ethutil.Big0) >= 0 {

0 commit comments

Comments
 (0)