Skip to content

Commit

Permalink
Docs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davxy committed Aug 31, 2023
1 parent 17750de commit 50d38b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions substrate/primitives/core/src/bandersnatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ impl TraitPair for Pair {
/// Sign a message.
///
/// In practice this produce a Schnorr signature of a transcript composed by
/// the constant label [`SINGING_CTX`] and `data` without any additional data.
/// the constant label [`SIGNING_CTX`] and `data` without any additional data.
///
/// See [`VrfSignData`] for additional details.
/// See [`vrf::VrfSignData`] for additional details.
fn sign(&self, data: &[u8]) -> Signature {
let data = vrf::VrfSignData::new_unchecked(SIGNING_CTX, &[data], None);
self.vrf_sign(&data).signature
Expand Down

0 comments on commit 50d38b0

Please sign in to comment.