fn verify()

in bft-lib/src/simulated_context.rs [244:253]


    fn verify(
        &self,
        author: Self::Author,
        hash: Self::HashValue,
        signature: Self::Signature,
    ) -> Result<()> {
        ensure!(author.0 == signature.0, "Unexpected signer in signature");
        ensure!(hash == signature.1, "Unexpected hash in signature");
        Ok(())
    }