Function sp_consensus_beefy::check_commitment_signature
source · pub fn check_commitment_signature<Number, Id, MsgHash>(
commitment: &Commitment<Number>,
authority_id: &Id,
signature: &<Id as RuntimeAppPublic>::Signature,
) -> bool
Expand description
Check a commitment signature by encoding the commitment and verifying the provided signature using the expected authority id.