qt: fix unit of lnaddr.amount

This commit is contained in:
ThomasV 2018-06-01 11:55:18 +02:00 committed by Janus
parent 14201f6463
commit ed496dca4b

View File

@ -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