pub fn rsig_to_ethsig(sig: &RSig) -> Signature
Expand description

Converts a recoverable signature to an ethers signature. Combine signature with recovery ID to recover the public key of the signer later. ref. https://github.com/gakonst/ethers-rs/blob/master/ethers-signers/src/aws/utils.rs “rsig_to_ethsig”