From 77b33e03ae6b76d988353e78825894485d102985 Mon Sep 17 00:00:00 2001 From: "matej.vukosav" Date: Fri, 8 Nov 2024 21:39:38 +0700 Subject: [PATCH] fix: join context with proxy --- crates/context/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/context/src/lib.rs b/crates/context/src/lib.rs index f8eb49938..59ba10feb 100644 --- a/crates/context/src/lib.rs +++ b/crates/context/src/lib.rs @@ -354,7 +354,10 @@ impl ContextManager { let context_exists = handle.has(&ContextMetaKey::new(context_id))?; let mut config = if !context_exists { - let proxy_contract = self.get_proxy_contract(context_id).await?; + let proxy_contract = self + .get_proxy_contract(context_id) + .await + .unwrap_or_else(|_| "".to_owned()); Some(ContextConfigParams { protocol: protocol.into(), network_id: network_id.into(),