aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/evm/disasm.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/evm/disasm.go')
-rw-r--r--cmd/evm/disasm.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/cmd/evm/disasm.go b/cmd/evm/disasm.go
index a78b2a8e1..4a442cf78 100644
--- a/cmd/evm/disasm.go
+++ b/cmd/evm/disasm.go
@@ -46,8 +46,5 @@ func disasmCmd(ctx *cli.Context) error {
code := strings.TrimSpace(string(in[:]))
fmt.Printf("%v\n", code)
- if err = asm.PrintDisassembled(code); err != nil {
- return err
- }
- return nil
+ return asm.PrintDisassembled(code)
}