From 4a9121304464462221155e46987654d9bd479af9 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 12 Feb 2023 13:28:19 +0100 Subject: [PATCH] minor fix --- electrum/gui/qt/utxo_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qt/utxo_list.py b/electrum/gui/qt/utxo_list.py index d5adc5327..ba6415e17 100644 --- a/electrum/gui/qt/utxo_list.py +++ b/electrum/gui/qt/utxo_list.py @@ -195,7 +195,7 @@ class UTXOList(MyTreeView): max_amount = self.wallet.lnworker.swap_manager.max_amount_forward_swap() if value < min_amount: return False - if value > max_amount: + if max_amount is None or value > max_amount: return False return True