@@ -258,7 +258,6 @@ impl RpcMultiClient {
258
258
& self ,
259
259
transaction : & Transaction ,
260
260
) -> anyhow:: Result < Signature > {
261
- let transaction = transaction. clone ( ) ;
262
261
self . retry_with_round_robin ( "sendTransactionWithConfig" , |index| {
263
262
let client = & self . rpc_clients [ index] ;
264
263
let transaction = transaction. clone ( ) ;
@@ -282,10 +281,9 @@ impl RpcMultiClient {
282
281
& self ,
283
282
signatures_contiguous : & mut [ Signature ] ,
284
283
) -> anyhow:: Result < Vec < Option < TransactionStatus > > > {
285
- let signatures: Vec < Signature > = signatures_contiguous. to_vec ( ) ;
286
284
self . retry_with_round_robin ( "getSignatureStatuses" , |index| {
287
285
let client = & self . rpc_clients [ index] ;
288
- let signatures = signatures . clone ( ) ;
286
+ let signatures = signatures_contiguous . to_vec ( ) ;
289
287
Box :: pin ( async move {
290
288
client
291
289
. get_signature_statuses ( & signatures)
@@ -301,10 +299,9 @@ impl RpcMultiClient {
301
299
& self ,
302
300
price_accounts : & [ Pubkey ] ,
303
301
) -> anyhow:: Result < Vec < RpcPrioritizationFee > > {
304
- let price_accounts = price_accounts. to_vec ( ) ;
305
302
self . retry_with_round_robin ( "getRecentPrioritizationFees" , |index| {
306
303
let client = & self . rpc_clients [ index] ;
307
- let price_accounts = price_accounts. clone ( ) ;
304
+ let price_accounts = price_accounts. to_vec ( ) ;
308
305
Box :: pin ( async move {
309
306
client
310
307
. get_recent_prioritization_fees ( & price_accounts)
0 commit comments