mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +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"
|
||||
} else {
|
||||
// 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)
|
||||
ret, st.gas, vmerr = evm.Call(sender, st.to().Address(), st.data, st.gas, st.value)
|
||||
contractAction = "contract call"
|
||||
|
|
|
|||
|
|
@ -683,7 +683,7 @@ func (s *PublicBlockChainAPI) GetMasternodes(b *types.Block, ctx context.Context
|
|||
if prevCheckpointBlock != nil {
|
||||
masternodes = engine.GetMasternodesFromCheckpointHeader(prevCheckpointBlock.Header(), curBlockNumber, s.b.ChainConfig().XDPoS.Epoch)
|
||||
}
|
||||
} else {
|
||||
} else {
|
||||
log.Error("Undefined XDPoS consensus engine")
|
||||
}
|
||||
}
|
||||
|
|
@ -980,7 +980,7 @@ func (s *PublicBlockChainAPI) rpcOutputBlockSigners(b *types.Block, ctx context.
|
|||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
} else {
|
||||
log.Error("Undefined XDPoS consensus engine")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue