Browse Source

Fix sweep in GUI

master
Kristaps Kaupe 6 years ago
parent
commit
a51bd55903
No known key found for this signature in database
GPG Key ID: D47B1B4232B55437
  1. 3
      scripts/joinmarket-qt.py

3
scripts/joinmarket-qt.py

@ -631,7 +631,8 @@ class SpendTab(QWidget):
btc_amount_str = self.widgets[3][1].text() btc_amount_str = self.widgets[3][1].text()
# for coinjoin sends no point to send below dust threshold, likely # for coinjoin sends no point to send below dust threshold, likely
# there will be no makers for such amount. # 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 return
amount = btc.amount_to_sat(btc_amount_str) amount = btc.amount_to_sat(btc_amount_str)
if makercount == 0: if makercount == 0:

Loading…
Cancel
Save