mirror of https://github.com/status-im/op-geth.git
core/asm: remove unused condition (#16487)
This commit is contained in:
parent
ba1030b6b8
commit
49e38c970e
|
@ -246,9 +246,6 @@ func isJump(op string) bool {
|
||||||
|
|
||||||
// toBinary converts text to a vm.OpCode
|
// toBinary converts text to a vm.OpCode
|
||||||
func toBinary(text string) vm.OpCode {
|
func toBinary(text string) vm.OpCode {
|
||||||
if isPush(text) {
|
|
||||||
text = "push1"
|
|
||||||
}
|
|
||||||
return vm.StringToOp(strings.ToUpper(text))
|
return vm.StringToOp(strings.ToUpper(text))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue