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

Function test_second_channel

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

Source from the content-addressed store, hash-verified

369
370
371def test_second_channel(node_factory):
372 l1, l2, l3 = node_factory.get_nodes(3)
373
374 l1.rpc.connect(l2.info['id'], 'localhost', l2.port)
375 l1.rpc.connect(l3.info['id'], 'localhost', l3.port)
376 l1.fundchannel(l2, 10**6)
377 l1.fundchannel(l3, 10**6)
378
379
380def 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