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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/evm/disasm.go b/cmd/evm/disasm.go
index 4a442cf78..69f611e39 100644
--- a/cmd/evm/disasm.go
+++ b/cmd/evm/disasm.go
@@ -44,7 +44,7 @@ func disasmCmd(ctx *cli.Context) error {
return err
}
- code := strings.TrimSpace(string(in[:]))
+ code := strings.TrimSpace(string(in))
fmt.Printf("%v\n", code)
return asm.PrintDisassembled(code)
}