mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-30 20:48:33 +01:00
use local chain_type and global chain_type as necessary
This commit is contained in:
@@ -78,7 +78,7 @@ where
|
||||
logging_config: Option<LoggingConfig>,
|
||||
tor_config: Option<TorConfig>,
|
||||
) -> Result<(), Error> {
|
||||
let mut default_config = GlobalWalletConfig::for_chain(chain_type);
|
||||
let mut default_config = GlobalWalletConfig::for_chain(&chain_type);
|
||||
let logging = match logging_config {
|
||||
Some(l) => Some(l),
|
||||
None => match default_config.members.as_ref() {
|
||||
|
||||
Reference in New Issue
Block a user