mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
cmd/evm: print vm output when debug flag is on.
This commit is contained in:
parent
322006d0f2
commit
2a9a6f1fcf
1 changed files with 4 additions and 0 deletions
|
|
@ -236,6 +236,10 @@ Gas used: %d
|
|||
}
|
||||
if tracer != nil {
|
||||
tracer.CaptureEnd(ret, initialGas-leftOverGas, execTime, err)
|
||||
fmt.Printf("0x%x", ret)
|
||||
if err != nil {
|
||||
fmt.Printf(" error: %v\n", err)
|
||||
}
|
||||
} else {
|
||||
fmt.Printf("0x%x\n", ret)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue