Skip to content

Commit 341b869

Browse files
committed
1 parent 24ec31b commit 341b869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/coin_selection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ mod test {
868868
vec![utxo; utxos_number]
869869
}
870870

871-
fn sum_random_utxos(mut rng: &mut StdRng, utxos: &mut Vec<WeightedUtxo>) -> u64 {
871+
fn sum_random_utxos(mut rng: &mut StdRng, utxos: &mut [WeightedUtxo]) -> u64 {
872872
let utxos_picked_len = rng.gen_range(2..utxos.len() / 2);
873873
utxos.shuffle(&mut rng);
874874
utxos[..utxos_picked_len]

0 commit comments

Comments
 (0)