Skip to content

Commit

Permalink
fix(dogfood): ++ the undelegation hold count
Browse files Browse the repository at this point in the history
The line was accidentally deleted.
  • Loading branch information
MaxMustermann2 committed Mar 5, 2024
1 parent 79bf60f commit 6a988ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/dogfood/keeper/impl_delegation_hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func (wrapper DelegationHooksWrapper) AfterUndelegationStarted(
// so this is not a concern.
}
wrapper.keeper.AppendUndelegationToMature(ctx, unbondingCompletionEpoch, recordKey)
wrapper.keeper.delegationKeeper.IncrementUndelegationHoldCount(ctx, recordKey)
}

// AfterUndelegationCompleted is called after an undelegation is completed.
Expand Down

0 comments on commit 6a988ad

Please sign in to comment.