From 1c8c2369331c30685a6e6205750647b3fde26d9d Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 17 Mar 2021 13:50:57 +0100 Subject: [PATCH] channels_with_funds: self._channels -> self.channels --- electrum/lnworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnworker.py b/electrum/lnworker.py index 1d8afb93b..cfb1d0384 100644 --- a/electrum/lnworker.py +++ b/electrum/lnworker.py @@ -1439,7 +1439,7 @@ class LNWallet(LNWorker): raise channels_with_funds = {(cid, chan.node_id): int(chan.available_to_spend(HTLCOwner.LOCAL)) - for cid, chan in self._channels.items() if not chan.is_frozen_for_sending()} + for cid, chan in self.channels.items() if not chan.is_frozen_for_sending()} self.logger.info(f"channels_with_funds: {channels_with_funds}") # for trampoline mpp payments we have to restrict ourselves to pay # to a single node due to some incompatibility in Eclair, see: