File tree Expand file tree Collapse file tree
sdk/src/verification_layer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -587,7 +587,7 @@ async fn main() -> Result<(), AlignedError> {
587587 & used_network,
588588 & verification_data_arr,
589589 max_fee_wei,
590- wallet. clone ( ) ,
590+ wallet,
591591 nonce,
592592 )
593593 . await ;
@@ -718,7 +718,7 @@ async fn main() -> Result<(), AlignedError> {
718718 let chain_id = get_chain_id ( eth_rpc_url. as_str ( ) ) . await ?;
719719 wallet = wallet. with_chain_id ( chain_id) ;
720720
721- let client = SignerMiddleware :: new ( eth_rpc_provider. clone ( ) , wallet. clone ( ) ) ;
721+ let client = SignerMiddleware :: new ( eth_rpc_provider, wallet. clone ( ) ) ;
722722
723723 match deposit_to_aligned ( amount_wei, client, deposit_to_batcher_args. network . into ( ) )
724724 . await
Original file line number Diff line number Diff line change @@ -469,9 +469,7 @@ async fn _is_proof_verified(
469469 . flatten ( )
470470 . collect ( ) ;
471471
472- let verification_data_comm = aligned_verification_data
473- . verification_data_commitment
474- . clone ( ) ;
472+ let verification_data_comm = & aligned_verification_data. verification_data_commitment ;
475473
476474 let service_manager = aligned_service_manager ( eth_rpc_provider, contract_address) . await ?;
477475
You can’t perform that action at this time.
0 commit comments