File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
dash/src/sml/quorum_entry Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,15 @@ impl QualifiedQuorumEntry {
1212 {
1313 let mut message = self . commitment_hash . to_byte_array ( ) ;
1414 message. reverse ( ) ;
15+ println ! ( "quorum {}" , self . quorum_entry. quorum_hash) ;
16+ println ! ( "using message {}" , hex:: encode( message) ) ;
1517 let message = message. as_slice ( ) ;
1618 let public_keys : Vec < ( blsful:: PublicKey < Bls12381G2Impl > ) > = operator_keys
17- . into_iter ( )
18- . map ( |key| key. try_into ( ) )
19+ . into_iter ( ) . enumerate ( )
20+ . map ( |( i, key) | {
21+ println ! ( "using operator key {}. {}" , i, key) ;
22+ key. try_into ( )
23+ } )
1924 . collect :: < Result < Vec < ( blsful:: PublicKey < Bls12381G2Impl > ) > , QuorumValidationError > > ( ) ?;
2025 let signature: MultiSignature < Bls12381G2Impl > = self . quorum_entry . all_commitment_aggregated_signature . try_into ( ) ?;
2126 let multi_public_key = MultiPublicKey :: < Bls12381G2Impl > :: from_public_keys ( public_keys) ;
You can’t perform that action at this time.
0 commit comments