File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
x/interchainstaking/keeper Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ func (k *Keeper) BeginBlocker(ctx sdk.Context) {
31
31
if err := k .GCCompletedRedelegations (ctx ); err != nil {
32
32
k .Logger (ctx ).Error ("error in GCCompletedRedelegations" , "error" , err )
33
33
}
34
-
35
- // k.HandleMaturedUnbondings(ctx)
34
+ k .HandleMaturedUnbondings (ctx )
36
35
}
36
+
37
37
k .IterateZones (ctx , func (index int64 , zone * types.Zone ) (stop bool ) {
38
- if ctx .BlockHeight ()% 30 == 0 {
38
+ if ctx .BlockHeight ()% blockInterval == 0 {
39
39
// for the tasks below, we cannot panic in begin blocker; as this will crash the chain.
40
40
// and as failing here is not terminal panicking is not necessary, but we should log
41
41
// as an error. we don't return on failure here as we still want to attempt the unrelated
You can’t perform that action at this time.
0 commit comments