From ed496dca4b1b25e84b4c86d713a436b8b5eb41fa Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 1 Jun 2018 11:55:18 +0200 Subject: [PATCH] qt: fix unit of lnaddr.amount --- electrum/gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py index f9f62e82..8b5c2c50 100644 --- a/electrum/gui/qt/main_window.py +++ b/electrum/gui/qt/main_window.py @@ -1730,7 +1730,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): self.payto_e.setFrozen(True) self.payto_e.setText(pubkey) self.message_e.setText(description) - self.amount_e.setAmount(lnaddr.amount) + self.amount_e.setAmount(lnaddr.amount * COIN) #self.amount_e.textEdited.emit("") self.payto_e.is_lightning = True