mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 00:35:18 +00:00
remove cdp review comment
This commit is contained in:
parent
a5d70d1424
commit
f0c750cb4a
@ -25,7 +25,6 @@ func BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock, k Keeper) {
|
|||||||
err := k.UpdateFeesForAllCdps(ctx, cp.Denom)
|
err := k.UpdateFeesForAllCdps(ctx, cp.Denom)
|
||||||
|
|
||||||
// handle if an error is returned then propagate up
|
// handle if an error is returned then propagate up
|
||||||
// TODO: panic here probably for mainnet (optional: have a bool that says panic or no)
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctx.EventManager().EmitEvent(
|
ctx.EventManager().EmitEvent(
|
||||||
sdk.NewEvent(
|
sdk.NewEvent(
|
||||||
|
Loading…
Reference in New Issue
Block a user