Skip to content

Commit

Permalink
gossmap: extend testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
m-schmoock committed Aug 23, 2021
1 parent bea93df commit f43ee1d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contrib/pyln-client/tests/test_gossmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ def test_gossmap(tmp_path):
g2 = Gossmap(sfile)
assert set(g.channels.keys()) == set(g2.channels.keys())
assert set(g.nodes.keys()) == set(g2.nodes.keys())

# Check some details
channel1 = g.get_channel("632677x1635x1")
channel2 = g.get_channel("632675x1524x0")
assert channel1.satoshis == 348185
assert channel2.satoshis == 31337

0 comments on commit f43ee1d

Please sign in to comment.