remove redundant updateOpcodeExec

This commit is contained in:
andri lim 2019-03-13 21:15:13 +07:00
parent 1b3ca200fa
commit f1fac6be0f
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 0 additions and 4 deletions

View File

@ -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