Browse Source

rm useless warning

283
ThomasV 10 years ago
parent
commit
01d4118221
  1. 5
      gui/qt/main_window.py

5
gui/qt/main_window.py

@ -739,13 +739,12 @@ class ElectrumWindow(QMainWindow):
try: try:
alias_privkey = self.wallet.get_private_key(alias_addr, password)[0] alias_privkey = self.wallet.get_private_key(alias_addr, password)[0]
except Exception as e: except Exception as e:
QMessageBox.warning(parent, _('Error'), str(e), _('OK')) QMessageBox.warning(self, _('Error'), str(e), _('OK'))
return return
else: else:
return return
else: else:
if not self.question(_('This request will not be signed; the Bitcoin address returned by your alias does not belong to your wallet')): return
return
pr, requestor = paymentrequest.make_request(self.config, req, alias, alias_privkey) pr, requestor = paymentrequest.make_request(self.config, req, alias, alias_privkey)
if requestor: if requestor:
req['name'] = requestor req['name'] = requestor

Loading…
Cancel
Save