From 18d90aee4f846368e9e5d49a7d93c0e98a028d72 Mon Sep 17 00:00:00 2001 From: timesince Date: Mon, 12 Aug 2024 01:36:35 +0800 Subject: [PATCH] chore: fix some comments and var name Signed-off-by: timesince --- electrum/gui/qt/main_window.py | 4 ++-- electrum/plugins/jade/jade.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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()