-
Notifications
You must be signed in to change notification settings - Fork 49
Integrate ALBA and STM #2709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Integrate ALBA and STM #2709
Conversation
let stakes = (0..NPARTIES) | ||
.into_iter() |
Check warning
Code scanning / clippy
useless conversion to the same type: std::ops::Range<usize> Warning
|
||
println!("Signers created"); | ||
|
||
let sig = ps[0].sign(&msg).unwrap(); |
Check warning
Code scanning / clippy
this expression creates a reference which is immediately dereferenced by the compiler Warning
if let Some(unique_index) = self.lottery_hash_index_map.get(e.as_ref()) { | ||
if let Some(signer_index) = e.index { | ||
proof_index_sequence.push((*unique_index, signer_index)); | ||
valid_signer_indexes.insert(signer_index); | ||
valid_indices.insert(*unique_index); | ||
} | ||
} |
Check warning
Code scanning / clippy
this if statement can be collapsed Warning
if let Some(unique_index) = self.lottery_hash_index_map.get(e.as_ref()) { | ||
if let Some(signer_index) = e.index { | ||
proof_index_sequence.push((*unique_index, signer_index)); | ||
valid_signer_indexes.insert(signer_index); | ||
valid_indices.insert(*unique_index); | ||
} | ||
} |
Check warning
Code scanning / clippy
this if statement can be collapsed Warning
Test Results 4 files ±0 164 suites ±0 23m 47s ⏱️ -2s For more details on these failures, see this check. Results for commit 84b3374. ± Comparison against base commit 0df5853. |
Content
This PR includes...
Pre-submit checklist
Comments
Issue(s)
Relates to #YYY or Closes #YYY