From bcf2246633d80e35c05a9eb64dd988b91745df66 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 28 May 2020 20:24:00 +0200 Subject: [PATCH] minor fix --- electrum/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/wallet.py b/electrum/wallet.py index 3f835924d..261774984 100644 --- 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