pub fn as_key_map(&self, secp: &SecpCtx) -> KeyMap {
        self.0
            .values()
            .filter_map(|signer| signer.descriptor_secret_key())
            .filter_map(|secret| secret.as_public(secp).ok().map(|public| (public, secret)))
            .collect()
    }
/// Create a map of public keys to secret keys
Create a map of public keys to secret keys
Create a map of public keys to secret keys
pub fn as_key_map(&self, secp: &SecpCtx) -> KeyMap {
        self.0
            .values()
            .filter_map(|signer| signer.descriptor_secret_key())
            .filter_map(|secret| secret.as_public(secp).ok().map(|public| (public, secret)))
            .collect()
    }
pub fn as_key_map ( & self , secp : & SecpCtx ) -> KeyMap { self . 0 . values ( ) . filter_map ( | signer | signer . descriptor_secret_key ( ) ) . filter_map ( | secret | secret . as_public ( secp ) . ok ( ) . map ( | public | ( public , secret ) ) ) . collect ( ) }
Create a map of public keys to secret keys
Create a map of public keys to secret keys
&self
secp
&SecpCtx
&self
secp
&SecpCtx