mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-15 04:25:27 +00:00
218 B
218 B
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)
}