Skip to content

Commit 347e9e0

Browse files
authored
Merge pull request #156 from filecoin-project/threshold-in-validator
Signer adress into getting blockchain threshold
2 parents 6d4c298 + c0043ed commit 347e9e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fplus-lib/src/core/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1646,10 +1646,11 @@ impl LDNApplication {
16461646
}
16471647
};
16481648
let signers: application::file::Verifiers = active_request.signers.clone();
1649+
let signer = signers.0.get(1).unwrap();
16491650

16501651
// Try getting the multisig threshold from the blockchain
16511652
let blockchain_threshold =
1652-
get_multisig_threshold_for_actor("actor_address").await;
1653+
get_multisig_threshold_for_actor(&signer.signing_address).await;
16531654

16541655
// Fallback to database value if blockchain query fails
16551656
let multisig_threshold = match blockchain_threshold {

0 commit comments

Comments
 (0)