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

Function reestablished

tests/test_connection.py:5391–5393  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5389 peer.start()
5390
5391 def reestablished():
5392 chan = only_one(peer.rpc.listpeerchannels(l2.info['id'])['channels'])
5393 return any('Reconnected, and reestablished' in s for s in chan['status'])
5394 wait_for(reestablished)
5395
5396 inv = l2.rpc.invoice(100000, label, 'desc')

Callers

nothing calls this directly

Calls 3

only_oneFunction · 0.90
listpeerchannelsMethod · 0.80
anyClass · 0.50

Tested by

no test coverage detected