From ac8a29efc2cdfac2323fe80455f1864dc22f6eb3 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 21 May 2022 12:23:01 +0200 Subject: [PATCH] kivy: minor fix --- electrum/gui/kivy/uix/screens.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/kivy/uix/screens.py b/electrum/gui/kivy/uix/screens.py index c54565187..e0de07436 100644 --- a/electrum/gui/kivy/uix/screens.py +++ b/electrum/gui/kivy/uix/screens.py @@ -448,7 +448,7 @@ class ReceiveScreen(CScreen): amount_sat = self.app.get_amount(amount_str) if amount_str else 0 message = self.message expiry = self.expiry() - if amount_sat and amount_sat < self.wallet.dust_threshold(): + if amount_sat and amount_sat < self.app.wallet.dust_threshold(): self.address = '' if not self.app.wallet.has_lightning(): return