| 79 | } |
| 80 | |
| 81 | static void add_push_key(u8 **scriptp, const struct pubkey *key) |
| 82 | { |
| 83 | u8 der[PUBKEY_CMPR_LEN]; |
| 84 | pubkey_to_der(der, key); |
| 85 | |
| 86 | script_push_bytes(scriptp, der, sizeof(der)); |
| 87 | } |
| 88 | |
| 89 | static void add_push_sig(u8 **scriptp, const struct bitcoin_signature *sig) |
| 90 | { |
no test coverage detected