commit 9858d6f0234b20580a10f7543870e8f987faa261
parent 892303a13bd2771b892513cbb2589dea0d599f33
Author: Carlosokumu <carlosokumu254@gmail.com>
Date: Mon, 23 Mar 2026 23:28:53 +0300
use DemoWallet and deprecate UsawaWallet
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dummy/usawa/gui/main_window.py b/dummy/usawa/gui/main_window.py
@@ -1,7 +1,7 @@
import logging
from pathlib import Path
from usawa.core.state_manager import StateManager
-from usawa.core.usawa_wallet import UsawaWallet
+from usawa.crypto import DemoWallet
from usawa.gui.components.passphrase_dialog import (
PASSPHRASE_DIALOG_CSS,
PassphraseDialog,
@@ -140,7 +140,7 @@ class UsawaMainWindow(Adw.ApplicationWindow):
store = LedgerStore(self.valkey_store, ledger)
dialog = PassphraseDialog(
store=store,
- wallet_class=UsawaWallet,
+ wallet_class=DemoWallet,
on_success=lambda wallet, passphrase: self._init_with_wallet(
wallet, passphrase, False
),