From 45298fd5de241c14cbd323bedc126464105aafba Mon Sep 17 00:00:00 2001 From: "jaeseung.bae" Date: Fri, 3 May 2024 16:46:30 +0900 Subject: [PATCH] fix: --- x/fswap/keeper/proposal.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/x/fswap/keeper/proposal.go b/x/fswap/keeper/proposal.go index 7ebb8a8df9..857dc0e5c9 100644 --- a/x/fswap/keeper/proposal.go +++ b/x/fswap/keeper/proposal.go @@ -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 }