mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00:05:18 +00:00
1b2cfa6d1a
* 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)
|
|
}
|