| 1259 | } |
| 1260 | |
| 1261 | static void peer_got_announcement(struct channel *channel, const u8 *msg) |
| 1262 | { |
| 1263 | secp256k1_ecdsa_signature remote_ann_node_sig; |
| 1264 | secp256k1_ecdsa_signature remote_ann_bitcoin_sig; |
| 1265 | struct short_channel_id scid; |
| 1266 | |
| 1267 | if (!fromwire_channeld_got_announcement(msg, |
| 1268 | &scid, |
| 1269 | &remote_ann_node_sig, |
| 1270 | &remote_ann_bitcoin_sig)) { |
| 1271 | channel_internal_error(channel, |
| 1272 | "bad channel_got_announcement %s", |
| 1273 | tal_hex(tmpctx, msg)); |
| 1274 | return; |
| 1275 | } |
| 1276 | |
| 1277 | channel_gossip_got_announcement_sigs(channel, scid, |
| 1278 | &remote_ann_node_sig, |
| 1279 | &remote_ann_bitcoin_sig); |
| 1280 | } |
| 1281 | |
| 1282 | static void peer_got_shutdown(struct channel *channel, const u8 *msg) |
| 1283 | { |
no test coverage detected