vm: removed logging to fix #457
This commit is contained in:
parent
03ff2976ed
commit
f5e2401984
4 changed files with 64 additions and 46 deletions
|
@ -280,9 +280,11 @@ func contractCompile(ctx *cli.Context) error {
|
|||
Debug: ctx.Bool("debug"),
|
||||
}
|
||||
|
||||
if err := compiler.CompileAndSave(src, o); err != nil {
|
||||
result, err := compiler.CompileAndSave(src, o)
|
||||
if err != nil {
|
||||
return cli.NewExitError(err, 1)
|
||||
}
|
||||
fmt.Println(hex.EncodeToString(result))
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue