Function sp_io::crypto::ed25519_verify[][src]

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

Verify ed25519 signature.

Returns true when the verification was successful.