simplify 'execComputation'
This commit is contained in:
parent
83e9debb62
commit
577c7ca5aa
|
@ -79,10 +79,9 @@ proc execComputation*(c: Computation) =
|
|||
if c.isSuccess:
|
||||
c.refundSelfDestruct()
|
||||
c.vmState.suicides = c.getSuicides()
|
||||
c.vmState.addLogs(c.logEntries)
|
||||
|
||||
c.vmstate.status = c.isSuccess
|
||||
if c.isSuccess:
|
||||
c.vmState.addLogs(c.logEntries)
|
||||
|
||||
proc refundGas*(c: Computation, tx: Transaction, sender: EthAddress): GasInt =
|
||||
let
|
||||
|
|
Loading…
Reference in New Issue