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

Function first_scidd

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

Source from the content-addressed store, hash-verified

455
456
457def first_scidd(n1, n2):
458 c = only_one(n1.rpc.listpeerchannels(n2.info['id'])['channels'])
459 return c['short_channel_id'] + '/' + str(c['direction'])
460
461
462def basic_fee(feerate, anchor_expected):

Callers 4

test_xpay_shadow_cltvFunction · 0.90
test_error_messagesFunction · 0.90

Calls 2

only_oneFunction · 0.90
listpeerchannelsMethod · 0.80

Tested by 4

test_xpay_shadow_cltvFunction · 0.72
test_error_messagesFunction · 0.72