mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-27 12:35:00 +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:
|
if computation.msg.depth > STACK_DEPTH_LIMIT:
|
||||||
raise newException(StackDepthError, "Stack depth limit reached")
|
raise newException(StackDepthError, "Stack depth limit reached")
|
||||||
|
|
||||||
let nilai = computation.vmState.readOnlyStateDb().getBalance(computation.msg.sender)
|
|
||||||
|
|
||||||
if computation.msg.value != 0:
|
if computation.msg.value != 0:
|
||||||
let senderBalance =
|
let senderBalance =
|
||||||
computation.vmState.readOnlyStateDb().
|
computation.vmState.readOnlyStateDb().
|
||||||
|
@ -228,6 +228,7 @@ proc opTableToCaseStmt(opTable: array[Op, NimNode], computation: NimNode): NimNo
|
|||||||
|
|
||||||
# Wrap the case statement in while true + computed goto
|
# Wrap the case statement in while true + computed goto
|
||||||
result = quote do:
|
result = quote do:
|
||||||
|
if `computation`.tracingEnabled:
|
||||||
`computation`.prepareTracer()
|
`computation`.prepareTracer()
|
||||||
var `instr` = `computation`.code.next()
|
var `instr` = `computation`.code.next()
|
||||||
while true:
|
while true:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user