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

Function test_second_channel

tests/test_connection.py:418–424  ·  view source on GitHub ↗
(node_factory)

Source from the content-addressed store, hash-verified

416
417
418def test_second_channel(node_factory):
419 l1, l2, l3 = node_factory.get_nodes(3)
420
421 l1.rpc.connect(l2.info['id'], 'localhost', l2.port)
422 l1.rpc.connect(l3.info['id'], 'localhost', l3.port)
423 l1.fundchannel(l2, 10**6)
424 l1.fundchannel(l3, 10**6)
425
426
427def test_channel_abandon(node_factory, bitcoind):

Callers

nothing calls this directly

Calls 3

get_nodesMethod · 0.80
connectMethod · 0.45
fundchannelMethod · 0.45

Tested by

no test coverage detected