Function sp_runtime::verify_encoded_lazy [−][src]
pub fn verify_encoded_lazy<V: Verify, T: Encode>(
sig: &V,
item: &T,
signer: &<V::Signer as IdentifyAccount>::AccountId
) -> bool
Verify a signature on an encoded value in a lazy manner. This can be an optimization if the signature scheme has an “unsigned” escape hash.