Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
JettTech committed Aug 5, 2024
1 parent b20336a commit fccf338
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions crates/hpos_connect_hc/src/app_connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ pub struct AppConnection {
}

impl AppConnection {
// Connect to app interface for given installed app id if one already exists,
// otherwise attach a new app interface and then establish connection.
pub async fn connect(
admin_ws: &mut AdminWebsocket,
keystore: MetaLairClient,
Expand All @@ -48,9 +50,6 @@ impl AppConnection {
}
}
}

// Connect to app interface for given installed app id if one already exists,
// otherwise attach a new app interface and then establish connection.
async fn inner_connect(
admin_ws: &mut AdminWebsocket,
keystore: MetaLairClient,
Expand Down
2 changes: 1 addition & 1 deletion crates/hpos_connect_hc/src/hha_agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl CoreAppAgent {
)
.await?;

let app = AppConnection::connect(&mut admin_ws, keystore.clone(), core_app.id())
let app = AppConnection::connect(&mut admin_ws, keystore, core_app.id())
.await
.context("Failed to connect to holochain's app interface")?;

Expand Down

0 comments on commit fccf338

Please sign in to comment.