remove redundant updateOpcodeExec
This commit is contained in:
parent
1b3ca200fa
commit
f1fac6be0f
|
@ -252,10 +252,6 @@ proc updateOpcodeExec*(computation: var BaseComputation, fork: Fork) =
|
||||||
else:
|
else:
|
||||||
raise newException(VMError, "Unknown or not implemented fork: " & $fork)
|
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) =
|
proc executeOpcodes*(computation: var BaseComputation) =
|
||||||
# TODO: Optimise getting fork and updating opCodeExec only when necessary
|
# TODO: Optimise getting fork and updating opCodeExec only when necessary
|
||||||
let fork = computation.getFork
|
let fork = computation.getFork
|
||||||
|
|
Loading…
Reference in New Issue