[][src]Function miniscript::miniscript::satisfy::bitcoinsig_from_rawsig

pub fn bitcoinsig_from_rawsig(rawsig: &[u8]) -> Result<BitcoinSig, Error>

Helper function to create BitcoinSig from Rawsig Useful for downstream when implementing Satisfier. Returns underlying secp if the Signature is not of correct format