mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 01:43:47 +00:00
core/asm: remove unused condition.
This commit is contained in:
parent
2e247705cd
commit
6883845641
1 changed files with 0 additions and 3 deletions
|
|
@ -247,9 +247,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 a new issue