mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-28 04:22:26 +00:00
core: Fix VM error logging
Signed-off-by: Lewis Marshall <lewis@lmars.net>
This commit is contained in:
parent
6171d01b11
commit
04d2de9119
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
ret, st.gas, vmerr = evm.Call(sender, st.to().Address(), st.data, st.gas, st.value)
|
||||||
}
|
}
|
||||||
if vmerr != nil {
|
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
|
// The only possible consensus-error would be if there wasn't
|
||||||
// sufficient balance to make the transfer happen. The first
|
// sufficient balance to make the transfer happen. The first
|
||||||
// balance transfer may never fail.
|
// balance transfer may never fail.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue