forked from cerc-io/plugeth
Set undefined operations instead of nil
This commit is contained in:
parent
3184027a2c
commit
0bb80e6be1
@ -24,7 +24,7 @@ func PluginOpCodeSelect(pl *plugins.PluginLoader, jt *JumpTable) *JumpTable {
|
||||
jt = copyJumpTable(jt)
|
||||
}
|
||||
for _, idx := range opCodes {
|
||||
(*jt)[idx] = nil
|
||||
(*jt)[idx] = &operation{execute: opUndefined, maxStack: maxStack(0, 0)}
|
||||
}
|
||||
return jt
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user