diff --git a/config/src/config.rs b/config/src/config.rs index 97b5fe058..d11298078 100644 --- a/config/src/config.rs +++ b/config/src/config.rs @@ -210,7 +210,7 @@ impl GlobalWalletConfig { /// apply defaults for each chain type pub fn for_chain(chain_type: &global::ChainTypes) -> GlobalWalletConfig { let mut defaults_conf = GlobalWalletConfig::default(); - let mut defaults = &mut defaults_conf.members.as_mut().unwrap().wallet; + let defaults = &mut defaults_conf.members.as_mut().unwrap().wallet; defaults.chain_type = Some(chain_type.clone()); match *chain_type {