Function lightning::util::message_signing::recover_pk[][src]

pub fn recover_pk(msg: &[u8], sig: &str) -> Result<PublicKey, Error>
Expand description

Recovers the PublicKey of the signer of the message given the message and the signature.