Skip to content

Commit 173cc42

Browse files
committed
1 parent 1d03db9 commit 173cc42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/wallet/src/wallet/coin_selection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ mod test {
898898
.collect()
899899
}
900900

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

0 commit comments

Comments
 (0)