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
..
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-25 23:17:36 +02:00
2018-03-25 23:54:21 +00:00
2017-12-20 12:56:15 +01:00
2018-03-30 16:35:00 +02:00
2018-03-27 23:17:17 +00:00
2018-04-03 23:22:59 +02:00
2018-02-20 22:36:21 +01:00
2018-02-23 18:02:00 +01:00
2018-04-05 19:01:53 +02:00
2018-04-05 19:01:53 +02:00
2018-03-16 01:17:40 +00:00
2018-02-20 22:36:21 +01:00
2018-03-26 01:31:21 +00:00
2018-02-20 22:36:21 +01:00
2018-03-19 00:27:55 +00:00
2018-03-30 16:35:00 +02:00
2018-03-30 16:35:00 +02:00
2018-03-12 22:34:51 +00:00
2018-03-12 22:34:51 +00:00
2018-03-16 00:16:10 +00:00
2017-06-27 10:25:53 +09:30
2018-02-22 10:46:30 +01:00
2018-02-14 11:31:58 +01:00
2018-03-30 00:01:10 +02:00
2018-01-16 13:03:54 +01:00
2018-03-26 05:01:49 +00:00
2018-03-25 23:54:21 +00:00
2018-03-25 23:54:21 +00:00
2018-03-26 01:31:21 +00:00
2018-03-19 00:27:55 +00:00
2018-04-03 14:03:28 +02:00
2018-03-26 00:20:53 +00:00
2018-02-20 22:36:21 +01:00
2018-02-07 00:46:49 +00:00
2018-04-03 14:03:28 +02:00
2018-04-03 14:03:28 +02:00
2018-04-03 14:03:28 +02:00
2018-03-16 00:16:10 +00:00
2018-03-16 00:16:10 +00:00
2017-12-21 09:56:20 +00:00
2018-04-04 02:31:41 +00:00
2018-02-20 22:36:21 +01:00
2018-04-05 19:01:53 +02:00
2018-03-19 09:27:09 +00:00
2018-03-26 23:35:56 +00:00
2018-03-26 23:35:56 +00:00
2018-03-26 00:20:53 +00:00
2018-01-19 22:23:45 +00:00
2018-04-04 14:17:07 +02:00
2018-03-30 15:40:32 +02:00
2018-04-04 14:17:07 +02:00
2018-02-16 13:08:29 +01:00
2018-04-05 19:07:23 +02:00
2018-04-04 02:31:41 +00:00
2018-04-05 19:01:53 +02:00
2018-02-20 22:36:21 +01:00
2018-03-26 01:09:59 +00:00
2018-03-26 01:09:59 +00:00
2018-03-25 23:54:21 +00:00
2018-02-22 10:46:30 +01:00