Rebond and the right height

This commit is contained in:
Jae Kwon 2015-04-25 14:05:25 -07:00
parent 27c193dd86
commit 014166deb4
1 changed files with 1 additions and 1 deletions

View File

@ -530,7 +530,7 @@ func (cs *ConsensusState) updateToState(state *sm.State, contiguous bool) {
if cs.privValidator != nil && cs.state.UnbondingValidators.HasAddress(cs.privValidator.Address) {
rebondTx := &types.RebondTx{
Address: cs.privValidator.Address,
Height: cs.Height + 1,
Height: cs.Height,
}
err := cs.privValidator.SignRebondTx(rebondTx)
if err == nil {