pub fn verify(&self) -> crypto::Result<()> {
        // NOTE: This needs to be in sync with the `new` constructor.
        let mut bytes = self.block_hash.inner().into_vec();
        bytes.extend_from_slice(&self.era_id.to_le_bytes());
        crypto::verify(bytes, &self.signature, &self.public_key)
    }
/// Verifies whether the signature is correct.
Verifies whether the signature is correct.
Verifies whether the signature is correct .
pub fn verify(&self) -> crypto::Result<()> {
        // NOTE: This needs to be in sync with the `new` constructor.
        let mut bytes = self.block_hash.inner().into_vec();
        bytes.extend_from_slice(&self.era_id.to_le_bytes());
        crypto::verify(bytes, &self.signature, &self.public_key)
    }
pub fn verify ( & self ) -> crypto :: Result < ( ) > { // NOTE: This needs to be in sync with the `new` constructor. let mut bytes = self . block_hash . inner ( ) . into_vec ( ) ; bytes . extend_from_slice ( & self . era_id . to_le_bytes ( ) ) ; crypto :: verify ( bytes , & self . signature , & self . public_key ) }
Verifies whether the signature is correct.
Verifies whether the signature is correct .
&self
&self