Skip to content

Commit

Permalink
core/asm: remove unused condition (ethereum#16487)
Browse files Browse the repository at this point in the history
  • Loading branch information
dm4 authored and firmianavan committed Aug 28, 2018
1 parent 5dd7204 commit 0427dcc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/asm/compiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@ func isJump(op string) bool {

// toBinary converts text to a vm.OpCode
func toBinary(text string) vm.OpCode {
if isPush(text) {
text = "push1"
}
return vm.StringToOp(strings.ToUpper(text))
}

Expand Down

0 comments on commit 0427dcc

Please sign in to comment.