| 943 | } |
| 944 | |
| 945 | static void |
| 946 | openchannel2_changed_hook_cb(struct openchannel2_psbt_payload *payload STEALS) |
| 947 | { |
| 948 | struct subd *dualopend = payload->dualopend; |
| 949 | |
| 950 | /* Free payload regardless of what happens next */ |
| 951 | tal_steal(tmpctx, payload); |
| 952 | |
| 953 | /* If our daemon died, we're done */ |
| 954 | if (!dualopend) |
| 955 | return; |
| 956 | |
| 957 | tal_del_destructor2(dualopend, |
| 958 | openchannel2_psbt_remove_dualopend, |
| 959 | payload); |
| 960 | |
| 961 | subd_send_msg(dualopend, |
| 962 | take(towire_dualopend_psbt_updated(NULL, |
| 963 | payload->psbt))); |
| 964 | } |
| 965 | |
| 966 | static bool |
| 967 | openchannel2_signed_deserialize(struct openchannel2_psbt_payload *payload, |
nothing calls this directly
no test coverage detected