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

Function openchannel_update_valid_psbt

lightningd/dual_open_control.c:3112–3120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3110}
3111
3112static void openchannel_update_valid_psbt(struct psbt_validator *pv)
3113{
3114 u8 *msg;
3115 assert(pv->cmd);
3116 pv->channel->open_attempt->cmd = pv->cmd;
3117
3118 msg = towire_dualopend_psbt_updated(NULL, pv->psbt);
3119 subd_send_msg(pv->channel->owner, take(msg));
3120}
3121
3122static void openchannel_invalid_psbt(struct psbt_validator *pv, const char *err_msg)
3123{

Callers 1

json_openchannel_updateFunction · 0.85

Calls 1

subd_send_msgFunction · 0.70

Tested by

no test coverage detected