fix: use same wallet directory for transactions as wallet create
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- 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
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user