mirror of
https://github.com/conduition/dlctix.git
synced 2026-01-31 05:35:12 +01:00
list wallet directory, not loaded wallets
This commit is contained in:
@@ -245,7 +245,7 @@ fn check_regtest_wallet() {
|
||||
);
|
||||
|
||||
let mut wallet_info = rpc_client.get_wallet_info().unwrap_or_else(|_| {
|
||||
if let Some(wallet_name) = rpc_client.list_wallets().unwrap().into_iter().next() {
|
||||
if let Some(wallet_name) = rpc_client.list_wallet_dir().unwrap().into_iter().next() {
|
||||
rpc_client.load_wallet(&wallet_name).unwrap();
|
||||
} else {
|
||||
rpc_client
|
||||
|
||||
Reference in New Issue
Block a user