Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information