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

Function openchannel_update_valid_psbt

lightningd/dual_open_control.c:2871–2879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2869}
2870
2871static void openchannel_update_valid_psbt(struct psbt_validator *pv)
2872{
2873 u8 *msg;
2874 assert(pv->cmd);
2875 pv->channel->open_attempt->cmd = pv->cmd;
2876
2877 msg = towire_dualopend_psbt_updated(NULL, pv->psbt);
2878 subd_send_msg(pv->channel->owner, take(msg));
2879}
2880
2881static void openchannel_invalid_psbt(struct psbt_validator *pv, const char *err_msg)
2882{

Callers 1

json_openchannel_updateFunction · 0.85

Calls 1

subd_send_msgFunction · 0.70

Tested by

no test coverage detected