diff options
author | Lewis Marshall <lewis@lmars.net> | 2017-06-04 19:30:02 +0800 |
---|---|---|
committer | Lewis Marshall <lewis@lmars.net> | 2017-06-06 06:51:32 +0800 |
commit | 04d2de9119a69a2ea13689d7b6bb2dda386b8e5e (patch) | |
tree | 12a8857e90196f2012cb9238cd3d45d757628a58 /core | |
parent | 6171d01b1195abd7ac75044dcd507d4758d83cde (diff) | |
download | dexon-04d2de9119a69a2ea13689d7b6bb2dda386b8e5e.tar dexon-04d2de9119a69a2ea13689d7b6bb2dda386b8e5e.tar.gz dexon-04d2de9119a69a2ea13689d7b6bb2dda386b8e5e.tar.bz2 dexon-04d2de9119a69a2ea13689d7b6bb2dda386b8e5e.tar.lz dexon-04d2de9119a69a2ea13689d7b6bb2dda386b8e5e.tar.xz dexon-04d2de9119a69a2ea13689d7b6bb2dda386b8e5e.tar.zst dexon-04d2de9119a69a2ea13689d7b6bb2dda386b8e5e.zip |
core: Fix VM error logging
Signed-off-by: Lewis Marshall <lewis@lmars.net>
Diffstat (limited to 'core')
-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. |