tqt: fix unit of lnaddr.amount - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 4fe912f4b3a05c2dc2a5cbe3bde17f29021bd6af DIR parent 6263b472d9cac23b1b25782c3a2ddfc99e87e955 HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 1 Jun 2018 11:55:18 +0200 qt: fix unit of lnaddr.amount Diffstat: M electrum/gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py t@@ -1885,7 +1885,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): 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