From 014166deb496a869f0cff07b4b2c84ad388b84c0 Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Sat, 25 Apr 2015 14:05:25 -0700 Subject: [PATCH] Rebond and the right height --- consensus/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/state.go b/consensus/state.go index ff9cbc63..ceebdb70 100644 --- a/consensus/state.go +++ b/consensus/state.go @@ -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 {