| 892 | } |
| 893 | |
| 894 | static void |
| 895 | openchannel2_changed_hook_cb(struct openchannel2_psbt_payload *payload STEALS) |
| 896 | { |
| 897 | struct subd *dualopend = payload->dualopend; |
| 898 | |
| 899 | /* Free payload regardless of what happens next */ |
| 900 | tal_steal(tmpctx, payload); |
| 901 | |
| 902 | /* If our daemon died, we're done */ |
| 903 | if (!dualopend) |
| 904 | return; |
| 905 | |
| 906 | tal_del_destructor2(dualopend, |
| 907 | openchannel2_psbt_remove_dualopend, |
| 908 | payload); |
| 909 | |
| 910 | subd_send_msg(dualopend, |
| 911 | take(towire_dualopend_psbt_updated(NULL, |
| 912 | payload->psbt))); |
| 913 | } |
| 914 | |
| 915 | static bool |
| 916 | openchannel2_signed_deserialize(struct openchannel2_psbt_payload *payload, |
nothing calls this directly
no test coverage detected