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