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

Function l2_channel_row

tests/test_opening.py:3948–3951  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3946 l1.daemon.wait_for_log('dev_disconnect: \\+WIRE_SHUTDOWN')
3947
3948 def l2_channel_row():
3949 return only_one(l2.db_query(
3950 "SELECT remote_upfront_shutdown_script, shutdown_scriptpubkey_remote"
3951 " FROM channels;"))
3952
3953 wait_for(lambda: l2_channel_row()['shutdown_scriptpubkey_remote'] is not None)
3954

Calls 2

only_oneFunction · 0.90
db_queryMethod · 0.80

Tested by

no test coverage detected