Function sp_runtime::verify_encoded_lazy
source · [−]pub fn verify_encoded_lazy<V: Verify, T: Encode>(
sig: &V,
item: &T,
signer: &<V::Signer as IdentifyAccount>::AccountId
) -> bool
Expand description
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.