mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-29 04:31:44 +00:00
Rebond and the right height
This commit is contained in:
@ -530,7 +530,7 @@ func (cs *ConsensusState) updateToState(state *sm.State, contiguous bool) {
|
|||||||
if cs.privValidator != nil && cs.state.UnbondingValidators.HasAddress(cs.privValidator.Address) {
|
if cs.privValidator != nil && cs.state.UnbondingValidators.HasAddress(cs.privValidator.Address) {
|
||||||
rebondTx := &types.RebondTx{
|
rebondTx := &types.RebondTx{
|
||||||
Address: cs.privValidator.Address,
|
Address: cs.privValidator.Address,
|
||||||
Height: cs.Height + 1,
|
Height: cs.Height,
|
||||||
}
|
}
|
||||||
err := cs.privValidator.SignRebondTx(rebondTx)
|
err := cs.privValidator.SignRebondTx(rebondTx)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
Reference in New Issue
Block a user