pygossmap: adds get_halfchannel

This commit is contained in:
Michael Schmoock
2023-02-16 16:21:44 +01:00
committed by Rusty Russell
parent d50722d26b
commit 5a9a3d83c9
2 changed files with 12 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ def test_gossmap_halfchannel(tmp_path):
assert chan.node2 == n2
half0 = chan.get_direction(0)
half1 = chan.get_direction(1)
half1 = g.get_halfchannel("103x1x1", 1)
assert half0
assert half1
assert half0.direction == 0