From 0b491fea0fd5aa21fd28c171ed775e70f0877661 Mon Sep 17 00:00:00 2001 From: Quentin Le Sceller Date: Tue, 25 Jul 2023 05:14:52 -0400 Subject: [PATCH] Fix build error with Rust 1.71.0 (#684) --- config/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/config.rs b/config/src/config.rs index 97b5fe05..d1129807 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 {