MCPcopy Create free account
hub / github.com/ElementsProject/lightning / psbt_request_invalid

Function psbt_request_invalid

lightningd/dual_open_control.c:3623–3636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3621}
3622
3623static 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
3634done:
3635 tal_free(pv);
3636}
3637
3638static void handle_update_require_confirmed(struct subd *dualopend,
3639 const u8 *msg)

Callers

nothing calls this directly

Calls 2

tal_freeFunction · 0.85
subd_send_msgFunction · 0.70

Tested by

no test coverage detected