Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron Hambly committed Feb 1, 2022
1 parent 94038a7 commit e858b0e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions applications/tari_collectibles/src-tauri/src/app_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,8 @@ impl ConcurrentAppState {

pub async fn connect_base_node_client(&self) -> Result<BaseNodeClient, CollectiblesError> {
let lock = self.inner.read().await;
let client = BaseNodeClient::connect(format!(
"http://{}",
lock.config.base_node_grpc_address.to_string()
))
.await?;
let client =
BaseNodeClient::connect(format!("http://{}", lock.config.base_node_grpc_address)).await?;
Ok(client)
}

Expand Down

0 comments on commit e858b0e

Please sign in to comment.