Remove superflous Pair::verify_weak (#13972)

This commit is contained in:
Davide Galassi authored and GitHub committed 2023-04-21 20:32:32 +00:00
1 parent 58f5cd6adb
commit b8d94bfad1
5 files changed
+15 -69

No files matched your search

@@ -154,13 +154,6 @@ macro_rules! app_crypto_pair {
) -> bool {
<$pair>::verify(&sig.0, message, pubkey.as_ref())
}
fn verify_weak<P: AsRef<[u8]>, M: AsRef<[u8]>>(
sig: &[u8],
message: M,
pubkey: P,
) -> bool {
<$pair>::verify_weak(sig, message, pubkey)
}
fn public(&self) -> Self::Public {
Public(self.0.public())
}