pub fn validate<C: Signing>(&self, secp: &Secp256k1<C>) -> Result<(), Error> {
        match self {
            OracleInfo::Single(s) => s.oracle_announcement.validate(secp)?,
            OracleInfo::Multi(m) => {
                for o in &m.oracle_announcements {
                    o.validate(secp)?;
                }
            }
        };

        Ok(())
    }
/// Checks that the info satisfies the validity conditions.
Checks that the info satisfies the validity conditions.
Checks that the info satisfies the validity conditions .
pub fn validate<C: Signing>(&self, secp: &Secp256k1<C>) -> Result<(), Error> {
        match self {
            OracleInfo::Single(s) => s.oracle_announcement.validate(secp)?,
            OracleInfo::Multi(m) => {
                for o in &m.oracle_announcements {
                    o.validate(secp)?;
                }
            }
        };
        Ok(())
    }
pub fn validate < C : Signing > ( & self , secp : & Secp256k1 < C > ) -> Result < ( ) , Error > { match self { OracleInfo :: Single ( s ) => s . oracle_announcement . validate ( secp ) ? , OracleInfo :: Multi ( m ) => { for o in & m . oracle_announcements { o . validate ( secp ) ? ; } } } ; Ok ( ( ) ) }
Checks that the info satisfies the validity conditions.
Checks that the info satisfies the validity conditions .
&self
secp
&Secp256k1<C>