mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
fix: clippy
This commit is contained in:
parent
31d4086692
commit
c3fd7fb879
@ -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…
Reference in New Issue
Block a user