| 552 | } |
| 553 | |
| 554 | struct short_channel_id gossmap_chan_scid(const struct gossmap *map, |
| 555 | const struct gossmap_chan *c) |
| 556 | { |
| 557 | struct short_channel_id scid; |
| 558 | scid.u64 = map_be64(map, c->cann_off + c->plus_scid_off); |
| 559 | |
| 560 | return scid; |
| 561 | } |
| 562 | |
| 563 | /* BOLT #7: |
| 564 | * 1. type: 257 (`node_announcement`) |
no test coverage detected