Remove unused_variables

This commit is contained in:
Luke Parker
2023-09-27 13:00:04 -04:00
parent 3b01d3039b
commit 01a4b9e694
6 changed files with 22 additions and 26 deletions

View File

@@ -66,7 +66,7 @@ fn serialize_transaction() {
// Create a valid vec of shares
let mut shares = vec![];
// Create up to 512 participants
for i in 0 .. (OsRng.next_u64() % 512) {
for _ in 0 .. (OsRng.next_u64() % 512) {
let mut share = vec![0; share_len];
OsRng.fill_bytes(&mut share);
shares.push(share);