fix(swap): Clippy errors (too many arguments, redundant clone)

This commit is contained in:
binarybaron 2024-08-26 18:01:57 +02:00 committed by binarybaron
parent dc3c937333
commit 015c956273
2 changed files with 2 additions and 1 deletions

View File

@ -1152,7 +1152,7 @@ where
min_deposit_until_swap_will_start,
max_deposit_until_maximum_amount_is_reached,
min_bitcoin_lock_tx_fee,
quote: bid_quote.clone(),
quote: bid_quote,
},
);

View File

@ -67,6 +67,7 @@ pub async fn run_until(
Ok(current_state)
}
#[allow(clippy::too_many_arguments)]
async fn next_state(
swap_id: Uuid,
state: BobState,