diff options
author | Chen Quan <terasum@163.com> | 2018-07-31 15:48:27 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-07-31 15:48:27 +0800 |
commit | fb9f7261ec51e38eedb454594fc19f00de1a6834 (patch) | |
tree | 9d026596c599e832fd7deb8eb548248b4de837c9 /cmd/evm/disasm.go | |
parent | d927cbb638419866de47929a723b5f2b8922c88e (diff) | |
download | go-tangerine-fb9f7261ec51e38eedb454594fc19f00de1a6834.tar go-tangerine-fb9f7261ec51e38eedb454594fc19f00de1a6834.tar.gz go-tangerine-fb9f7261ec51e38eedb454594fc19f00de1a6834.tar.bz2 go-tangerine-fb9f7261ec51e38eedb454594fc19f00de1a6834.tar.lz go-tangerine-fb9f7261ec51e38eedb454594fc19f00de1a6834.tar.xz go-tangerine-fb9f7261ec51e38eedb454594fc19f00de1a6834.tar.zst go-tangerine-fb9f7261ec51e38eedb454594fc19f00de1a6834.zip |
cmd/evm: change error msg output to stderr (#17118)
* cmd/evm: change error msg output to stderr
* cmd/evm: fix some linter error
Diffstat (limited to 'cmd/evm/disasm.go')
-rw-r--r-- | cmd/evm/disasm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/evm/disasm.go b/cmd/evm/disasm.go index 4a442cf78..0f3491818 100644 --- a/cmd/evm/disasm.go +++ b/cmd/evm/disasm.go @@ -45,6 +45,6 @@ func disasmCmd(ctx *cli.Context) error { } code := strings.TrimSpace(string(in[:])) - fmt.Printf("%v\n", code) + fmt.Fprintf(ctx.App.Writer, "%v\n", code) return asm.PrintDisassembled(code) } |