| 27 | #define HSM_FD 4 |
| 28 | |
| 29 | static void notify(enum log_level level, const char *fmt, ...) |
| 30 | { |
| 31 | va_list ap; |
| 32 | |
| 33 | va_start(ap, fmt); |
| 34 | wire_sync_write(REQ_FD, |
| 35 | take(towire_closingd_notification(NULL, |
| 36 | level, |
| 37 | tal_vfmt(tmpctx, fmt, |
| 38 | ap)))); |
| 39 | |
| 40 | va_end(ap); |
| 41 | } |
| 42 | |
| 43 | static struct bitcoin_tx *close_tx(const tal_t *ctx, |
| 44 | const struct chainparams *chainparams, |
no test coverage detected