Skip to content

Commit

Permalink
Remove to_string which is not necessary (solana-labs#34540)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakridge authored Dec 20, 2023
1 parent c722976 commit 210d320
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions local-cluster/tests/local_cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,7 @@ fn test_local_cluster_signature_subscribe() {
);

let (mut sig_subscribe_client, receiver) = PubsubClient::signature_subscribe(
&format!(
"ws://{}",
&non_bootstrap_info.rpc_pubsub().unwrap().to_string()
),
&format!("ws://{}", non_bootstrap_info.rpc_pubsub().unwrap()),
&transaction.signatures[0],
Some(RpcSignatureSubscribeConfig {
commitment: Some(CommitmentConfig::processed()),
Expand Down

0 comments on commit 210d320

Please sign in to comment.