diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py index 5a837f468..88a152175 100644 --- a/electrum/gui/qt/main_window.py +++ b/electrum/gui/qt/main_window.py @@ -2044,8 +2044,8 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger, QtEventListener): if self.wallet.is_watching_only(): self.show_message(_('This is a watching-only wallet.')) return - cyphertext = encrypted_e.toPlainText() - task = partial(self.wallet.decrypt_message, pubkey_e.text(), cyphertext, password) + ciphertext = encrypted_e.toPlainText() + task = partial(self.wallet.decrypt_message, pubkey_e.text(), ciphertext, password) def setText(text): try: diff --git a/electrum/plugins/jade/jade.py b/electrum/plugins/jade/jade.py index 8a36b69ed..dd55659fa 100644 --- a/electrum/plugins/jade/jade.py +++ b/electrum/plugins/jade/jade.py @@ -117,7 +117,7 @@ class Jade_Client(HardwareClientBase): self.efusemac = verinfo['EFUSEMAC'] self.jade.disconnect() - # Reconnect with a the default timeout for all subsequent calls + # Reconnect with the default timeout for all subsequent calls self.jade = JadeAPI.create_serial(device) self.jade.connect()