mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-02 03:26:23 -04:00
fix: clippy
This commit is contained in:
parent
31d4086692
commit
c3fd7fb879
1 changed files with 1 additions and 1 deletions
|
@ -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?;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue