| 888 | } |
| 889 | |
| 890 | static void update_v1_channelid(struct subd *subd, const u8 *funding_created) |
| 891 | { |
| 892 | struct bitcoin_outpoint outp; |
| 893 | |
| 894 | if (!extract_funding_created_funding(funding_created, &outp)) { |
| 895 | status_peer_unusual(&subd->peer->id, "WARNING: funding_created no tx info?"); |
| 896 | return; |
| 897 | } |
| 898 | move_channel_id_to_temp(subd); |
| 899 | derive_channel_id(&subd->channel_id, &outp); |
| 900 | } |
| 901 | |
| 902 | static void update_v2_channelid(struct subd *subd, const u8 *accept_channel2) |
| 903 | { |
no test coverage detected