mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-02-25 17:11:22 -05: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…
x
Reference in New Issue
Block a user