openchannels: fix pending channel output

This commit is contained in:
bitromortac 2022-07-15 08:17:25 +02:00
parent 4452ef7ed1
commit 167dc38a96
No known key found for this signature in database
GPG key ID: 1965063FC13BEBE2

View file

@ -809,9 +809,7 @@ class LndNode:
label='lndmanage: batch open',
)
response = self._rpc.BatchOpenChannel(request)
logger.info(f">>> Pending channels:")
for r in response.pending_channels:
logger.info(f" {r.txid.hex()}:{r.output_index}")
logger.info(f">>> Pending channels: {len(response.pending_channels)}")
def _connect_nodes(self, pubkeys: List[str]) -> List[str]:
"""