From 341b86986bbc3f57264d658b3343fd714d6ecbe3 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Mon, 6 Jan 2025 10:22:04 -0600 Subject: [PATCH] ci(clippy): fix updated ptr_arg check for rust 1.83 https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg rust-lang/rust-clippy#13313 --- src/wallet/coin_selection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/coin_selection.rs b/src/wallet/coin_selection.rs index 8eaf3112..e85e2444 100644 --- a/src/wallet/coin_selection.rs +++ b/src/wallet/coin_selection.rs @@ -868,7 +868,7 @@ mod test { vec![utxo; utxos_number] } - fn sum_random_utxos(mut rng: &mut StdRng, utxos: &mut Vec) -> u64 { + fn sum_random_utxos(mut rng: &mut StdRng, utxos: &mut [WeightedUtxo]) -> u64 { let utxos_picked_len = rng.gen_range(2..utxos.len() / 2); utxos.shuffle(&mut rng); utxos[..utxos_picked_len] -- 2.49.0