Skip to content

Commit

Permalink
🔥 removed unnecessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
lukacan authored and lukacan committed May 20, 2024
1 parent 4ef599b commit e9dae1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/client/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl Default for Client {
payer: payer.clone(),
anchor_client: AnchorClient::new_with_options(
Cluster::Localnet,
Rc::new(payer.clone()),
Rc::new(payer),
CommitmentConfig::confirmed(),
),
}
Expand Down

0 comments on commit e9dae1c

Please sign in to comment.