| 3621 | } |
| 3622 | |
| 3623 | static void psbt_request_invalid(struct psbt_validator *pv, const char *err_msg) |
| 3624 | { |
| 3625 | struct subd *dualopend = pv->channel->owner; |
| 3626 | |
| 3627 | if (!dualopend) |
| 3628 | goto done; |
| 3629 | |
| 3630 | assert(!pv->cmd); |
| 3631 | subd_send_msg(dualopend, |
| 3632 | take(towire_dualopend_fail(NULL, err_msg))); |
| 3633 | |
| 3634 | done: |
| 3635 | tal_free(pv); |
| 3636 | } |
| 3637 | |
| 3638 | static void handle_update_require_confirmed(struct subd *dualopend, |
| 3639 | const u8 *msg) |
nothing calls this directly
no test coverage detected