URI: 
       tfix #2564 - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit eff0ae1f782dac8a4e902eebfd75a765a71066d1
   DIR parent 298461aee2aeae5bcd86ce20e10b0a1ffa634f95
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Fri, 30 Jun 2017 12:50:53 +0200
       
       fix #2564
       
       Diffstat:
         M gui/qt/main_window.py               |       9 +++++++--
       
       1 file changed, 7 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
       t@@ -1863,6 +1863,11 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
                d.setLayout(vbox)
                d.exec_()
        
       +    msg_sign = ("Signing with an address actually means signing with the corresponding "
       +                "private key, and verifying with the corresponding public key. The "
       +                "address you have entered does not have a unique public key, so these "
       +                "operations cannot be performed.")
       +
            @protected
            def do_sign(self, address, message, signature, password):
                address  = str(address.text()).strip()
       t@@ -1871,7 +1876,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
                    self.show_message('Invalid Bitcoin address.')
                    return
                if not bitcoin.is_p2pkh(address):
       -            self.show_message('Cannot sign messages with this type of address.')
       +            self.show_message('Cannot sign messages with this type of address.' + '\n\n' + self.msg_sign)
                    return
                if not self.wallet.is_mine(address):
                    self.show_message('Address not in wallet.')
       t@@ -1888,7 +1893,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
                    self.show_message('Invalid Bitcoin address.')
                    return
                if not bitcoin.is_p2pkh(address):
       -            self.show_message('Cannot verify messages with this type of address.')
       +            self.show_message('Cannot verify messages with this type of address.' + '\n\n' + self.msg_sign)
                    return
                try:
                    # This can throw on invalid base64