Called on timeout. */
| 3723 | } |
| 3724 | /* Called on timeout. */ |
| 3725 | static void |
| 3726 | timeout_waitblockheight_waiter(struct waitblockheight_waiter *w) |
| 3727 | { |
| 3728 | list_del(&w->list); |
| 3729 | w->removed = true; |
| 3730 | tal_steal(tmpctx, w); |
| 3731 | was_pending(command_fail(w->cmd, WAIT_TIMEOUT, |
| 3732 | "Timed out.")); |
| 3733 | } |
| 3734 | /* Called by lightningd at each new block. */ |
| 3735 | void waitblockheight_notify_new_block(struct lightningd *ld) |
| 3736 | { |
nothing calls this directly
no test coverage detected