| 35 | #define HSM_FD 4 |
| 36 | |
| 37 | static void notify(enum log_level level, const char *fmt, ...) |
| 38 | { |
| 39 | va_list ap; |
| 40 | |
| 41 | va_start(ap, fmt); |
| 42 | wire_sync_write(REQ_FD, |
| 43 | take(towire_closingd_notification(NULL, |
| 44 | level, |
| 45 | tal_vfmt(tmpctx, fmt, |
| 46 | ap)))); |
| 47 | |
| 48 | va_end(ap); |
| 49 | } |
| 50 | |
| 51 | static struct bitcoin_tx *close_tx(const tal_t *ctx, |
| 52 | const struct chainparams *chainparams, |
no test coverage detected