fn pkh_public_key<Pk, S>(sat: S, pkh: &Pk::Hash) -> Self
    where
        Pk: ToPublicKey,
        S: Satisfier<Pk>,
    {
        match sat.lookup_pkh_pk(pkh) {
            Some(pk) => Witness::Stack(vec![pk.to_public_key().to_bytes()]),
            None => Witness::Unavailable,
        }
    }
/// Turn a public key related to a pkh into (part of) a satisfaction
Turn a public key related to a pkh into (part of) a satisfaction
Turn a public key related to a pkh into ( part of ) a satisfaction
fn pkh_public_key<Pk, S>(sat: S, pkh: &Pk::Hash) -> Self
    where
        Pk: ToPublicKey,
        S: Satisfier<Pk>,
    {
        match sat.lookup_pkh_pk(pkh) {
            Some(pk) => Witness::Stack(vec![pk.to_public_key().to_bytes()]),
            None => Witness::Unavailable,
        }
    }
fn pkh_public_key < Pk , S > ( sat : S , pkh : & Pk :: Hash ) -> Self where Pk : ToPublicKey , S : Satisfier < Pk > , { match sat . lookup_pkh_pk ( pkh ) { Some ( pk ) => Witness :: Stack ( vec ! [ pk to_public_key ( ) to_bytes ( ) ] ) , None => Witness :: Unavailable , } }
Turn a public key related to a pkh into (part of) a satisfaction
Turn a public key related to a pkh into ( part of ) a satisfaction
sat
S
pkh
&Pk::Hash
sat
S
pkh
&Pk::Hash