Browse Source

channels_with_funds: self._channels -> self.channels

patch-4
ThomasV 4 years ago
parent
commit
1c8c236933
  1. 2
      electrum/lnworker.py

2
electrum/lnworker.py

@ -1439,7 +1439,7 @@ class LNWallet(LNWorker):
raise raise
channels_with_funds = {(cid, chan.node_id): int(chan.available_to_spend(HTLCOwner.LOCAL)) 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}") self.logger.info(f"channels_with_funds: {channels_with_funds}")
# for trampoline mpp payments we have to restrict ourselves to pay # for trampoline mpp payments we have to restrict ourselves to pay
# to a single node due to some incompatibility in Eclair, see: # to a single node due to some incompatibility in Eclair, see:

Loading…
Cancel
Save