Function verify_node_announcement
pub fn verify_node_announcement<C>(
msg: &NodeAnnouncement,
secp_ctx: &Secp256k1<C>,
) -> Result<(), LightningError>where
C: Verification,
Expand description
Verifies the signature of a NodeAnnouncement
.
Returns an error if it is invalid.