Get short_channel_id_dir for a channel in generate_gossip_store format
(nodemap, node1_idx, node2_idx, chan_idx)
| 24 | |
| 25 | |
| 26 | def scid_dir(nodemap, node1_idx, node2_idx, chan_idx): |
| 27 | """Get short_channel_id_dir for a channel in generate_gossip_store format""" |
| 28 | dir_val = direction(nodemap[node1_idx], nodemap[node2_idx]) |
| 29 | return f"{node1_idx}x{node2_idx}x{chan_idx}/{dir_val}" |
| 30 | |
| 31 | |
| 32 | def test_reserve(node_factory): |
nothing calls this directly
no test coverage detected