Skip to content

Commit

Permalink
vm: fix indentation issue from ethereum#813
Browse files Browse the repository at this point in the history
  • Loading branch information
holiman committed Oct 17, 2017
1 parent 321a114 commit fc1affd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ethereum/vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,10 @@ def vm_trace(ext, msg, compustate, opcode, pushcache, tracer=log_vm_op):
trace_data['steps'] = compustate.steps
trace_data['depth'] = msg.depth
if op[:4] == 'PUSH':
if sys.version_info.major == 2:
print repr(pushcache)
else:
print(repr(pushcache))
if sys.version_info.major == 2:
print repr(pushcache)
else:
print(repr(pushcache))

trace_data['pushvalue'] = pushcache[compustate.prev_pc]
tracer.trace('vm', op=op, **trace_data)
Expand Down

0 comments on commit fc1affd

Please sign in to comment.