Skip to content

Commit

Permalink
fixup! fix: only refund opened swap
Browse files Browse the repository at this point in the history
  • Loading branch information
j75689 committed Dec 15, 2023
1 parent 587060a commit 996e8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/tokens/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func EndBlocker(ctx sdk.Context, timelockKeeper timelock.Keeper, swapKeeper swap
SwapID: swapID,
})
if !result.IsOK() {
logger.Error("Refund error", "swapId", swapID, result.Tags)
logger.Error("Refund error", "swapId", swapID, "result", fmt.Sprintf("%s", result))
continue
}
i++
Expand Down

0 comments on commit 996e8ac

Please sign in to comment.