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

Function promoted

tests/test_opening.py:1938–1940  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

1936 mined_blockid = bitcoind.rpc.getblockhash(bitcoind.rpc.getblockcount())
1937
1938 def promoted(n):
1939 chan = only_one(n.rpc.listpeerchannels()['channels'])
1940 return chan.get('short_channel_id') is not None
1941
1942 wait_for(lambda: promoted(l2))
1943 l2.stop()

Callers 1

Calls 3

only_oneFunction · 0.90
listpeerchannelsMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected