1
0

qml gui: fix flake8 "F821 undefined name" errors

This commit is contained in:
SomberNight
2022-07-09 03:49:45 +02:00
parent 60a0fcb6e5
commit bcbe69672e
2 changed files with 2 additions and 1 deletions

View File

@@ -215,4 +215,4 @@ class QEDaemon(AuthMixin, QObject):
def set_password(self, password):
assert self._use_single_password
self._logger.debug('about to set password to %s for ALL wallets' % password)
update_password_for_directory(self.daemon.config, self._password, password)
self.daemon.update_password_for_directory(old_password=self._password, new_password=password)

View File

@@ -17,6 +17,7 @@ from electrum.transaction import PartialTxOutput
from electrum.invoices import (Invoice, InvoiceError,
PR_DEFAULT_EXPIRATION_WHEN_CREATING, PR_PAID,
PR_UNPAID, PR_UNKNOWN, PR_EXPIRED, PR_UNCONFIRMED)
from electrum.network import TxBroadcastError, BestEffortRequestFailed
from .qeinvoicelistmodel import QEInvoiceListModel, QERequestListModel
from .qetransactionlistmodel import QETransactionListModel