Skip to content

Commit

Permalink
fix: join context with proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejVukosav committed Nov 8, 2024
1 parent a859301 commit 77b33e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/context/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 77b33e0

Please sign in to comment.