mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
pygossmap: adds get_halfchannel
This commit is contained in:
committed by
Rusty Russell
parent
d50722d26b
commit
5a9a3d83c9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user