Skip to content

Commit

Permalink
ci(clippy): fix updated ptr_arg check for rust 1.83
Browse files Browse the repository at this point in the history
  • Loading branch information
notmandatory committed Dec 16, 2024
1 parent 1d03db9 commit 173cc42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wallet/src/wallet/coin_selection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ mod test {
.collect()
}

fn sum_random_utxos(mut rng: &mut StdRng, utxos: &mut Vec<WeightedUtxo>) -> Amount {
fn sum_random_utxos(mut rng: &mut StdRng, utxos: &mut [WeightedUtxo]) -> Amount {
let utxos_picked_len = rng.gen_range(2..utxos.len() / 2);
utxos.shuffle(&mut rng);
utxos[..utxos_picked_len]
Expand Down

0 comments on commit 173cc42

Please sign in to comment.