| 243 | } |
| 244 | |
| 245 | u8 *bitcoin_scriptsig_p2sh_p2wpkh(const tal_t *ctx, const struct pubkey *key) |
| 246 | { |
| 247 | u8 *redeemscript = |
| 248 | bitcoin_redeem_p2sh_p2wpkh(NULL, key); |
| 249 | return bitcoin_scriptsig_redeem(ctx, take(redeemscript)); |
| 250 | } |
| 251 | |
| 252 | u8 **bitcoin_witness_p2wpkh(const tal_t *ctx, |
| 253 | const struct bitcoin_signature *sig, |
no test coverage detected