mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-03-14 05:25:17 +00:00

* remove LTV index * remove LTV param * remove LTV param from tests * remove LTV index from tests * fix incentive hook not called before sync
11 lines
215 B
Go
11 lines
215 B
Go
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)
|
|
}
|