qt: fix unit of lnaddr.amount

This commit is contained in:
ThomasV 2018-06-01 11:55:18 +02:00 committed by SomberNight
parent ab5a776f47
commit 12c3dbd317
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -1773,7 +1773,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
self.payto_e.setFrozen(True) self.payto_e.setFrozen(True)
self.payto_e.setText(pubkey) self.payto_e.setText(pubkey)
self.message_e.setText(description) self.message_e.setText(description)
self.amount_e.setAmount(lnaddr.amount) self.amount_e.setAmount(lnaddr.amount * COIN)
#self.amount_e.textEdited.emit("") #self.amount_e.textEdited.emit("")
self.payto_e.is_lightning = True self.payto_e.is_lightning = True