fix: clippy

This commit is contained in:
binarybaron 2024-07-24 11:23:55 +02:00
parent 31d4086692
commit c3fd7fb879
No known key found for this signature in database
GPG Key ID: 99B75D3E1476A26E

View File

@ -248,7 +248,7 @@ async fn main() -> Result<()> {
let latest_state: AliceState = state.try_into()?; let latest_state: AliceState = state.try_into()?;
if only_unfinished && is_complete(&latest_state) { if only_unfinished && is_complete(&latest_state) {
() // Skip finished swaps return Ok::<_, anyhow::Error>(());
} }
let all_states = db.get_states(swap_id).await?; let all_states = db.get_states(swap_id).await?;