mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-12 21:34:33 +00:00
fix #245 again
This commit is contained in:
parent
9fcba8f90d
commit
9522c1145f
@ -113,8 +113,6 @@ proc applyMessageAux(computation: var BaseComputation, opCode: static[Op]) =
|
||||
if computation.msg.depth > STACK_DEPTH_LIMIT:
|
||||
raise newException(StackDepthError, "Stack depth limit reached")
|
||||
|
||||
let nilai = computation.vmState.readOnlyStateDb().getBalance(computation.msg.sender)
|
||||
|
||||
if computation.msg.value != 0:
|
||||
let senderBalance =
|
||||
computation.vmState.readOnlyStateDb().
|
||||
|
@ -228,7 +228,8 @@ proc opTableToCaseStmt(opTable: array[Op, NimNode], computation: NimNode): NimNo
|
||||
|
||||
# Wrap the case statement in while true + computed goto
|
||||
result = quote do:
|
||||
`computation`.prepareTracer()
|
||||
if `computation`.tracingEnabled:
|
||||
`computation`.prepareTracer()
|
||||
var `instr` = `computation`.code.next()
|
||||
while true:
|
||||
{.computedGoto.}
|
||||
|
Loading…
x
Reference in New Issue
Block a user