Skip to content

Commit 45ad4bb

Browse files
dm4mariameda
authored andcommitted
core/asm: remove unused condition (ethereum#16487)
1 parent 311cbcd commit 45ad4bb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

core/asm/compiler.go

-3
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,6 @@ func isJump(op string) bool {
246246

247247
// toBinary converts text to a vm.OpCode
248248
func toBinary(text string) vm.OpCode {
249-
if isPush(text) {
250-
text = "push1"
251-
}
252249
return vm.StringToOp(strings.ToUpper(text))
253250
}
254251

0 commit comments

Comments
 (0)