mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-13 13:55:45 +00:00
remove redundant updateOpcodeExec
This commit is contained in:
parent
1b3ca200fa
commit
f1fac6be0f
@ -252,10 +252,6 @@ proc updateOpcodeExec*(computation: var BaseComputation, fork: Fork) =
|
||||
else:
|
||||
raise newException(VMError, "Unknown or not implemented fork: " & $fork)
|
||||
|
||||
proc updateOpcodeExec*(computation: var BaseComputation) =
|
||||
let fork = computation.getFork
|
||||
computation.updateOpcodeExec(fork)
|
||||
|
||||
proc executeOpcodes*(computation: var BaseComputation) =
|
||||
# TODO: Optimise getting fork and updating opCodeExec only when necessary
|
||||
let fork = computation.getFork
|
||||
|
Loading…
x
Reference in New Issue
Block a user