Use address instead of bond height / intratxcounter for deduplication (#3055)

This commit is contained in:
Jae Kwon
2018-12-10 02:49:37 -08:00
committed by GitHub
parent 40a30b738f
commit 133134ca52
19 changed files with 227 additions and 243 deletions
-1
View File
@@ -123,7 +123,6 @@ func (app *GaiaApp) prepForZeroHeightGenesis(ctx sdk.Context) {
panic("expected validator, not found")
}
validator.BondHeight = 0
validator.BondIntraTxCounter = counter
validator.UnbondingHeight = 0
app.stakeKeeper.SetValidator(ctx, validator)
counter++