aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/evm
diff options
context:
space:
mode:
authorEgon Elbre <egonelbre@gmail.com>2017-08-07 19:34:21 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-08-07 19:34:21 +0800
commit85454e7678f8f295ae72b8579aa443f9e45344cb (patch)
tree264f1ed9c86a0c6abec55eb3dd59603b53c82d0a /cmd/evm
parent8c2cf3c66cf1d678b8b22e2c6245976058bfb525 (diff)
downloadgo-tangerine-85454e7678f8f295ae72b8579aa443f9e45344cb.tar
go-tangerine-85454e7678f8f295ae72b8579aa443f9e45344cb.tar.gz
go-tangerine-85454e7678f8f295ae72b8579aa443f9e45344cb.tar.bz2
go-tangerine-85454e7678f8f295ae72b8579aa443f9e45344cb.tar.lz
go-tangerine-85454e7678f8f295ae72b8579aa443f9e45344cb.tar.xz
go-tangerine-85454e7678f8f295ae72b8579aa443f9e45344cb.tar.zst
go-tangerine-85454e7678f8f295ae72b8579aa443f9e45344cb.zip
cmd: fix megacheck warnings (#14912)
* cmd: fix megacheck warnings * cmd: revert time.Until changes, keep readFloat
Diffstat (limited to 'cmd/evm')
-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)
}