Begin Block
At the start of each block interest is accumulated
// BeginBlocker updates interest rates
func BeginBlocker(ctx sdk.Context, k Keeper) {
k.ApplyInterestRateUpdates(ctx)
}
At the start of each block interest is accumulated
// BeginBlocker updates interest rates
func BeginBlocker(ctx sdk.Context, k Keeper) {
k.ApplyInterestRateUpdates(ctx)
}