MCPcopy Create free account
hub / github.com/ElementsProject/lightning / first_channel_id

Function first_channel_id

tests/utils.py:449–450  ·  view source on GitHub ↗
(n1, n2)

Source from the content-addressed store, hash-verified

447
448
449def first_channel_id(n1, n2):
450 return only_one(n1.rpc.listpeerchannels(n2.info['id'])['channels'])['channel_id']
451
452
453def first_scid(n1, n2):

Calls 2

only_oneFunction · 0.90
listpeerchannelsMethod · 0.80