Skip to content

Commit

Permalink
fix:
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeseung-bae committed May 3, 2024
1 parent c0950b6 commit 45298fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/fswap/keeper/proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ func (k Keeper) MakeSwap(ctx sdk.Context, swap types.Swap, toDenomMetadata bank.
}
}

err := k.setSwap(ctx, swap)
if err != nil {
if err := k.setSwap(ctx, swap); err != nil {
return err
}

Expand Down

0 comments on commit 45298fd

Please sign in to comment.