minor fix

This commit is contained in:
ThomasV 2016-12-22 17:36:05 +01:00
parent 426cd6dd60
commit 07896efa21
1 changed files with 1 additions and 1 deletions

View File

@ -1766,7 +1766,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
if not bitcoin.is_p2pkh(address):
self.show_message('Cannot sign messages with this type of address.')
return
if not wallet.is_mine(address):
if not self.wallet.is_mine(address):
self.show_message('Address not in wallet.')
return
task = partial(self.wallet.sign_message, address, message, password)