Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Feb 16, 2025
1 parent e74fb02 commit e92c19a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x/distribution/keeper/allocation.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ func (k Keeper) beforeAllocateTokens(ctx context.Context) error {

for _, coin := range feesCollected {
if err := k.dexKeeper.SwapToBase(ctx, feeCollectorAddr, coin); err != nil {
return err
k.Logger(ctx).Error("failed to swap fee to base coin", "error", err)
// TODO - rollback this after we change to call `sudo_swap` in the next version
// return err
}
}

Expand Down

0 comments on commit e92c19a

Please sign in to comment.