mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-17 18:30:45 +00:00
Fixed minor bug for get signers from penalties header.
This commit is contained in:
parent
9fe12cb097
commit
973f9d1271
2 changed files with 3 additions and 3 deletions
|
|
@ -236,7 +236,7 @@ func (st *StateTransition) TransitionDb() (ret []byte, usedGas uint64, failed bo
|
||||||
contractAction = "contract creation"
|
contractAction = "contract creation"
|
||||||
} else {
|
} else {
|
||||||
// Increment the nonce for the next transaction
|
// Increment the nonce for the next transaction
|
||||||
nonce = st.state.GetNonce(sender.Address())+1
|
nonce = st.state.GetNonce(sender.Address()) + 1
|
||||||
st.state.SetNonce(sender.Address(), nonce)
|
st.state.SetNonce(sender.Address(), nonce)
|
||||||
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)
|
||||||
contractAction = "contract call"
|
contractAction = "contract call"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue