Skip to content

Commit 9dc0d56

Browse files
Remove unnecesary clone in submit_multiple sdk func
1 parent 1c0845c commit 9dc0d56

File tree

1 file changed

+1
-1
lines changed
  • crates/sdk/src/verification_layer

1 file changed

+1
-1
lines changed

crates/sdk/src/verification_layer/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ pub async fn submit_multiple(
236236
wallet: Wallet<SigningKey>,
237237
nonce: U256,
238238
) -> Vec<Result<AlignedVerificationData, errors::SubmitError>> {
239-
let (ws_stream, _) = match connect_async(network.clone().get_batcher_url()).await {
239+
let (ws_stream, _) = match connect_async(network.get_batcher_url()).await {
240240
Ok((ws_stream, response)) => (ws_stream, response),
241241
Err(e) => return vec![Err(errors::SubmitError::WebSocketConnectionError(e))],
242242
};

0 commit comments

Comments
 (0)