0g-chain/x/hard/abci.go

11 lines
215 B
Go
Raw Normal View History

2020-12-21 17:18:55 +00:00
package hard
import (
sdk "github.com/cosmos/cosmos-sdk/types"
)
// BeginBlocker updates interest rates and attempts liquidations
func BeginBlocker(ctx sdk.Context, k Keeper) {
k.ApplyInterestRateUpdates(ctx)
}