This commit is contained in:
dm4 2018-03-16 06:16:07 +00:00 committed by GitHub
commit c16196e72a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {