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

Function first_scid

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

Source from the content-addressed store, hash-verified

413
414
415def first_scid(n1, n2):
416 return only_one(only_one(n1.rpc.listpeers(n2.info['id'])['peers'])['channels'])['short_channel_id']
417
418
419def basic_fee(feerate):

Callers 14

test_htlc_failed_nocloseFunction · 0.90
test_sendpayFunction · 0.90
test_onchaind_replayFunction · 0.90
test_onchain_dust_outFunction · 0.90
test_onchain_timeoutFunction · 0.90

Calls 2

only_oneFunction · 0.90
listpeersMethod · 0.45

Tested by 14

test_htlc_failed_nocloseFunction · 0.72
test_sendpayFunction · 0.72
test_onchaind_replayFunction · 0.72
test_onchain_dust_outFunction · 0.72
test_onchain_timeoutFunction · 0.72