1
0

chore: fix some comments and var name

Signed-off-by: timesince <seekseat@icloud.com>
This commit is contained in:
timesince
2024-08-12 01:36:35 +08:00
parent d0693c311f
commit 18d90aee4f
2 changed files with 3 additions and 3 deletions

View File

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