We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f83439c commit 9a5d072Copy full SHA for 9a5d072
fplus-lib/src/core/mod.rs
@@ -1669,10 +1669,11 @@ impl LDNApplication {
1669
log::warn!("Not enough signers for approval");
1670
return Ok(false);
1671
}
1672
+ let signer_index = if multisig_threshold <= 1 { 0 } else { 1 };
1673
- let signer = signers.0.get(1).unwrap();
1674
+ let signer = signers.0.get(signer_index).unwrap();
1675
let signer_gh_handle = signer.github_username.clone();
- let valid_verifiers =
1676
+ let valid_verifiers: ValidVerifierList =
1677
Self::fetch_verifiers(owner.clone(), repo.clone()).await?;
1678
if valid_verifiers.is_valid(&signer_gh_handle) {
1679
log::info!("Val Approval (G)- Validated!");
0 commit comments