Skip to content

Commit

Permalink
fix: revert add context
Browse files Browse the repository at this point in the history
  • Loading branch information
frdomovic committed Nov 8, 2024
1 parent 22cb409 commit 260f297
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions crates/context/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,19 @@ impl ContextManager {
bail!("Application is not installed on node.")
};

self.add_context(
&context,
identity_secret,
Some(ContextConfigParams {
protocol: self.client_config.new.protocol.as_str().into(),
network_id: self.client_config.new.network.as_str().into(),
contract_id: self.client_config.new.contract_id.as_str().into(),
proxy_contract: "".into(),
application_revision: 0,
members_revision: 0,
}),
)?;

let (tx, rx) = oneshot::channel();

let this = self.clone();
Expand Down

0 comments on commit 260f297

Please sign in to comment.