From f9f6e4f5a1232e3e71d73bf6ef3f417ed91ba0ea Mon Sep 17 00:00:00 2001 From: Andrew Burger Date: Fri, 22 Nov 2024 10:42:05 +0100 Subject: [PATCH] removing couple comments --- substrate/primitives/application-crypto/src/bandersnatch.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/substrate/primitives/application-crypto/src/bandersnatch.rs b/substrate/primitives/application-crypto/src/bandersnatch.rs index 5ea8b41b5d5a..50961855ed34 100644 --- a/substrate/primitives/application-crypto/src/bandersnatch.rs +++ b/substrate/primitives/application-crypto/src/bandersnatch.rs @@ -50,14 +50,12 @@ impl RuntimePublic for Public { sp_io::crypto::bandersnatch_sign(key_type, self, msg.as_ref()) } - /// Dummy implementation. Returns `false`. fn verify>(&self, msg: &M, signature: &Self::Signature) -> bool { let sig = AppSignature::from(signature.clone()); let pub_key = AppPublic::from(self.clone()); AppPair::verify(&sig, msg.as_ref(), &pub_key) } - /// Dummy implementation. Returns 'None'. fn generate_pop(&mut self, key_type: KeyTypeId) -> Option { let pub_key_as_bytes = self.to_raw_vec(); let pop_statement = [POP_CONTEXT_TAG, pub_key_as_bytes.as_slice()].concat();