commit bcf2246633d80e35c05a9eb64dd988b91745df66 parent e6e6103434b26486661e61345fc35eba1544ad7f Author: ThomasV <thomasv@electrum.org> Date: Thu, 28 May 2020 20:24:00 +0200 minor fix Diffstat:
M | electrum/wallet.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/wallet.py b/electrum/wallet.py @@ -820,7 +820,7 @@ class Abstract_Wallet(AddressSynchronizer, ABC): transactions_tmp = OrderedDictWithIndex() # add on-chain txns onchain_history = self.get_onchain_history(domain=onchain_domain) - lnworker_history = self.lnworker.get_onchain_history() if self.lnworker else [] + lnworker_history = self.lnworker.get_onchain_history() if self.lnworker and include_lightning else {} for tx_item in onchain_history: txid = tx_item['txid'] transactions_tmp[txid] = tx_item