mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 19:47:59 +00:00
Keystore fix default path (#4570)
This commit is contained in:
committed by
Gavin Wood
parent
897445f32a
commit
189bd2349c
@@ -878,7 +878,7 @@ where
|
||||
let default_keystore_path = config.in_chain_config_dir(DEFAULT_KEYSTORE_CONFIG_PATH);
|
||||
|
||||
if let KeystoreConfig::Path { path, ..} = &mut config.keystore {
|
||||
*path = path.clone().or(default_keystore_path);
|
||||
*path = cli.keystore_path.or(default_keystore_path);
|
||||
}
|
||||
|
||||
// set sentry mode (i.e. act as an authority but **never** actively participate)
|
||||
|
||||
Reference in New Issue
Block a user