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

Function chan_active

tests/test_misc.py:1084–1087  ·  view source on GitHub ↗
(node, scid, is_active)

Source from the content-addressed store, hash-verified

1082
1083
1084def chan_active(node, scid, is_active):
1085 chans = node.rpc.listchannels(scid)['channels']
1086 print(chans)
1087 return [c['active'] for c in chans] == [is_active, is_active]
1088
1089
1090@pytest.mark.developer("needs DEVELOPER=1", "uses dev-fast-reconnect")

Callers 2

Calls 1

listchannelsMethod · 0.45

Tested by

no test coverage detected