From 1a4f0507a2f19d1319442ca81c7220c9fcedcfa7 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Sat, 30 Jul 2022 09:29:01 +0800 Subject: [PATCH] fix on last refactory --- libs/hbb_common/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/hbb_common/src/config.rs b/libs/hbb_common/src/config.rs index f47be3da3..aeca568db 100644 --- a/libs/hbb_common/src/config.rs +++ b/libs/hbb_common/src/config.rs @@ -593,7 +593,7 @@ impl Config { if let Some(p) = lock.as_ref() { return p.clone(); } - let mut config = Config::load(); + let mut config = Config::load_::(""); if config.key_pair.0.is_empty() { let (pk, sk) = sign::gen_keypair(); let key_pair = (sk.0.to_vec(), pk.0.into());