Function sp_io::crypto::sr25519_verify[][src]

pub fn sr25519_verify(sig: &Signature, msg: &[u8], pub_key: &Public) -> bool
Expand description

Verify sr25519 signature.

Returns true when the verification was successful.