aboutsummaryrefslogtreecommitdiffstats
path: root/core/state_transition.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/state_transition.go')
-rw-r--r--core/state_transition.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/state_transition.go b/core/state_transition.go
index 7672fa3ff..3dbc789f8 100644
--- a/core/state_transition.go
+++ b/core/state_transition.go
@@ -223,6 +223,10 @@ func (self *StateTransition) transitionState() (ret []byte, usedGas *big.Int, er
return nil, nil, InvalidTxError(err)
}
+ if vm.Debug {
+ VmStdErrFormat(vmenv.StructLogs())
+ }
+
self.refundGas()
self.state.AddBalance(self.coinbase, new(big.Int).Mul(self.gasUsed(), self.gasPrice))