Merge PR #3999: Fix distribution zero height export bug
This commit is contained in:
parent
06f741609b
commit
da17a6d725
|
@ -0,0 +1 @@
|
|||
#3999 Fix distribution delegation for zero height export bug
|
|
@ -118,6 +118,7 @@ func (app *GaiaApp) prepForZeroHeightGenesis(ctx sdk.Context, jailWhiteList []st
|
|||
// reinitialize all delegations
|
||||
for _, del := range dels {
|
||||
app.distrKeeper.Hooks().BeforeDelegationCreated(ctx, del.DelegatorAddress, del.ValidatorAddress)
|
||||
app.distrKeeper.Hooks().AfterDelegationModified(ctx, del.DelegatorAddress, del.ValidatorAddress)
|
||||
}
|
||||
|
||||
// reset context height
|
||||
|
|
Loading…
Reference in New Issue