From c3fd7fb879344a6992edfcc2fc9ddc9e7f2c7cf6 Mon Sep 17 00:00:00 2001 From: binarybaron Date: Wed, 24 Jul 2024 11:23:55 +0200 Subject: [PATCH] fix: clippy --- swap/src/bin/asb.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swap/src/bin/asb.rs b/swap/src/bin/asb.rs index 00fea9fd..330ae25f 100644 --- a/swap/src/bin/asb.rs +++ b/swap/src/bin/asb.rs @@ -248,7 +248,7 @@ async fn main() -> Result<()> { let latest_state: AliceState = state.try_into()?; if only_unfinished && is_complete(&latest_state) { - () // Skip finished swaps + return Ok::<_, anyhow::Error>(()); } let all_states = db.get_states(swap_id).await?;