Skip to content

Commit

Permalink
Fix build error with Rust 1.71.0 (#684)
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinlesceller authored Jul 25, 2023
1 parent f0a3830 commit 0b491fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0b491fe

Please sign in to comment.