Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
drskalman committed Nov 13, 2023
1 parent efb350d commit 8cfccd8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions substrate/primitives/core/src/paired_crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ pub mod ecdsa_bls377 {
<Self as PairT>::Signature::unchecked_from(raw)
}

/// Hashes the `message` with the specified `MsgHasher` and then verifies whether the resulting
/// hash was signed by the provided ECDSA public key. It does not affect the behavior of the
/// BLS12-377 component. It verifies whether the BLS12-377 signature was hashed and signed
/// according to IETF standard
/// Hashes the `message` with the specified `MsgHasher` and then verifies whether the
/// resulting hash was signed by the provided ECDSA public key. It does not affect the
/// behavior of the BLS12-377 component. It verifies whether the BLS12-377 signature was
/// hashed and signed according to IETF standard
pub fn verify_with_hasher<MsgHasher: crate::Hasher>(
sig: &Signature,
message: &[u8],
Expand Down

0 comments on commit 8cfccd8

Please sign in to comment.