mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-24 23:35:19 +00:00
ensure pricefeed is updated every x/cdp begin blocker (#1819)
This commit is contained in:
parent
c59a491788
commit
7efee6d536
@ -42,7 +42,7 @@ func BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock, k keeper.Keeper)
|
||||
|
||||
if skipSyncronizeAndLiquidations {
|
||||
ctx.Logger().Debug(fmt.Sprintf("skipping x/cdp SynchronizeInterestForRiskyCDPs and LiquidateCdps for %s", cp.Type))
|
||||
return
|
||||
continue
|
||||
}
|
||||
|
||||
ctx.Logger().Debug(fmt.Sprintf("running x/cdp SynchronizeInterestForRiskyCDPs and LiquidateCdps for %s", cp.Type))
|
||||
|
Loading…
Reference in New Issue
Block a user