Browse Source

chore: fix some comments and var name

Signed-off-by: timesince <seekseat@icloud.com>
master
timesince 1 year ago
parent
commit
18d90aee4f
  1. 4
      electrum/gui/qt/main_window.py
  2. 2
      electrum/plugins/jade/jade.py

4
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:

2
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()

Loading…
Cancel
Save