qt: fix unit of lnaddr.amount

This commit is contained in:
ThomasV 2018-06-01 11:55:18 +02:00 committed by Janus
parent 62762443b4
commit a46249ea72

View File

@ -1723,7 +1723,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