diff --git a/coins/monero/src/wallet/decoys.rs b/coins/monero/src/wallet/decoys.rs index 38ae071f..dbba42f7 100644 --- a/coins/monero/src/wallet/decoys.rs +++ b/coins/monero/src/wallet/decoys.rs @@ -20,7 +20,7 @@ const DECOYS: usize = RING_LEN - 1; lazy_static! { static ref GAMMA: Gamma = Gamma::new(19.28, 1.0 / 1.61).unwrap(); - static ref DISTRIBUTION: Mutex> = Mutex::new(vec![]); + static ref DISTRIBUTION: Mutex> = Mutex::new(Vec::with_capacity(3000000)); } async fn select_n(