Blockstream / greenlight

Build apps using self-custodial lightning nodes in the cloud
https://blockstream.github.io/greenlight/getting-started/
MIT License
113 stars 27 forks source link

Fix CI error: "AttributeError: channels" #450

Closed nepet closed 4 months ago

nepet commented 4 months ago

There are 2 open PRs that produce the same error AttributeError: channels on the following tests:

It seems that the optional channels array returned by listpeers is not reliable anymore. This PR replaces the listpeers calls by listpeerchannels which will return a channels array.