| 90 | } |
| 91 | |
| 92 | static void add_push_key(u8 **scriptp, const struct pubkey *key) |
| 93 | { |
| 94 | u8 der[PUBKEY_CMPR_LEN]; |
| 95 | pubkey_to_der(der, key); |
| 96 | |
| 97 | script_push_bytes(scriptp, der, sizeof(der)); |
| 98 | } |
| 99 | |
| 100 | static void add_push_sig(u8 **scriptp, const struct bitcoin_signature *sig) |
| 101 | { |
no test coverage detected