mirror of
https://github.com/mimblewimble/grin-wallet.git
synced 2025-01-20 19:11:09 +03:00
Fix build error with Rust 1.71.0 (#684)
This commit is contained in:
parent
f0a38306e0
commit
0b491fea0f
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue