From a51bd5590344c29f5ab067fdb223e045282c1fce Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Fri, 6 Mar 2020 14:37:08 +0200 Subject: [PATCH] Fix sweep in GUI --- scripts/joinmarket-qt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/joinmarket-qt.py b/scripts/joinmarket-qt.py index 9ac0239..2f31e7c 100644 --- a/scripts/joinmarket-qt.py +++ b/scripts/joinmarket-qt.py @@ -631,7 +631,8 @@ class SpendTab(QWidget): btc_amount_str = self.widgets[3][1].text() # for coinjoin sends no point to send below dust threshold, likely # there will be no makers for such amount. - if makercount != 0 and not checkAmount(self, btc_amount_str): + if (makercount != 0 and btc_amount_str != '0' and + not checkAmount(self, btc_amount_str)): return amount = btc.amount_to_sat(btc_amount_str) if makercount == 0: