mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 15:21:39 +02:00
Fix build error with Rust 1.71.0 (#684)
This commit is contained in:
@@ -210,7 +210,7 @@ impl GlobalWalletConfig {
|
|||||||
/// apply defaults for each chain type
|
/// apply defaults for each chain type
|
||||||
pub fn for_chain(chain_type: &global::ChainTypes) -> GlobalWalletConfig {
|
pub fn for_chain(chain_type: &global::ChainTypes) -> GlobalWalletConfig {
|
||||||
let mut defaults_conf = GlobalWalletConfig::default();
|
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());
|
defaults.chain_type = Some(chain_type.clone());
|
||||||
|
|
||||||
match *chain_type {
|
match *chain_type {
|
||||||
|
|||||||
Reference in New Issue
Block a user