Files
lightning/lightningd
Rusty Russell daa14f48f2 peer_control: don't list opening channels as connected=false.
I saw a failure in test_funding_fail():
	assert l2.rpc.listpeers()['peers'][0]['connected']

This can happen if l2 hasn't yet handed back to gossipd.  Turns out
we didn't mark uncommitted channels as connected:

	[{'id': '03afa3c78bb39217feb8aac308852e6383d59409839c2b91955b2d992421f4a41e', 'connected': False, 'channels': [{'state': 'OPENINGD', 'owner': 'lightning_openingd', 'funder': 'REMOTE', 'status': ['Incoming channel: accepted, now waiting for them to create funding tx']}]}]

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-04-05 19:07:23 +02:00
..
2017-10-20 18:31:32 +02:00
2018-03-26 01:31:21 +00:00
2018-03-26 01:31:21 +00:00
2018-03-30 00:01:10 +02:00
2018-03-26 01:31:21 +00:00
2017-12-21 09:56:20 +00:00
2018-02-16 13:08:29 +01:00