From c425ff760caedf74f8792ea8a1aca837511fd043 Mon Sep 17 00:00:00 2001 From: aitbc Date: Tue, 26 May 2026 13:41:37 +0200 Subject: [PATCH] fix: use same wallet directory for transactions as wallet create - Changed DEFAULT_KEYSTORE_DIR from KEYSTORE_DIR to Path.home()/.aitbc/wallets - This matches the wallet directory used by wallet create command - Fixes 'Wallet not found' error in transactions send command - Wallets created at ~/.aitbc/wallets/ are now accessible to transactions commands --- cli/aitbc_cli/commands/transactions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/aitbc_cli/commands/transactions.py b/cli/aitbc_cli/commands/transactions.py index 55f59164..519f1f56 100644 --- a/cli/aitbc_cli/commands/transactions.py +++ b/cli/aitbc_cli/commands/transactions.py @@ -20,7 +20,8 @@ from cryptography.hazmat.primitives.asymmetric import ed25519 logger = get_logger(__name__) DEFAULT_RPC_URL = "http://localhost:8006" -DEFAULT_KEYSTORE_DIR = KEYSTORE_DIR +# Use the same wallet directory as wallet create command +DEFAULT_KEYSTORE_DIR = Path.home() / ".aitbc" / "wallets" @click.group()