diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-06-06 15:31:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-06 15:31:27 +0800 |
commit | 65ea913e29c2945d6af4f05d9f61db5fbd0dd126 (patch) | |
tree | 719a97344ce7143d23802267f30ae1117611a9d7 | |
parent | 9a0e433b13665c90a23b6ad3753153c22a371df5 (diff) | |
parent | 04d2de9119a69a2ea13689d7b6bb2dda386b8e5e (diff) | |
download | dexon-65ea913e29c2945d6af4f05d9f61db5fbd0dd126.tar.gz dexon-65ea913e29c2945d6af4f05d9f61db5fbd0dd126.tar.zst dexon-65ea913e29c2945d6af4f05d9f61db5fbd0dd126.zip |
Merge pull request #14583 from ethersphere/core-log-fixes
core: Fix VM error logging
-rw-r--r-- | core/state_transition.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/state_transition.go b/core/state_transition.go index 21830e806..0ae9d7fcb 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -243,7 +243,7 @@ func (st *StateTransition) TransitionDb() (ret []byte, requiredGas, usedGas *big ret, st.gas, vmerr = evm.Call(sender, st.to().Address(), st.data, st.gas, st.value) } if vmerr != nil { - log.Debug("VM returned with error", "err", err) + log.Debug("VM returned with error", "err", vmerr) // The only possible consensus-error would be if there wasn't // sufficient balance to make the transfer happen. The first // balance transfer may never fail. |