| 853 | } |
| 854 | |
| 855 | static void |
| 856 | openchannel2_changed_hook_cb(struct openchannel2_psbt_payload *payload STEALS) |
| 857 | { |
| 858 | struct subd *dualopend = payload->dualopend; |
| 859 | |
| 860 | /* Free payload regardless of what happens next */ |
| 861 | tal_steal(tmpctx, payload); |
| 862 | |
| 863 | /* If our daemon died, we're done */ |
| 864 | if (!dualopend) |
| 865 | return; |
| 866 | |
| 867 | tal_del_destructor2(dualopend, |
| 868 | openchannel2_psbt_remove_dualopend, |
| 869 | payload); |
| 870 | |
| 871 | subd_send_msg(dualopend, |
| 872 | take(towire_dualopend_psbt_updated(NULL, |
| 873 | payload->psbt))); |
| 874 | } |
| 875 | |
| 876 | static bool |
| 877 | openchannel2_signed_deserialize(struct openchannel2_psbt_payload *payload, |
nothing calls this directly
no test coverage detected