Skip to content

Commit

Permalink
Remove redundant clone usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylavrenov committed May 9, 2024
1 parent 172b07c commit 68a682d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bioauth-flow-rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ where
.await
.map_err(EnrollError::Robonode)?;

let scan_result_blob = response.scan_result_blob.clone();
let scan_result_blob = response.scan_result_blob;

info!("Bioauth flow - enrolling complete");

Expand Down Expand Up @@ -398,7 +398,7 @@ where
info!("Bioauth flow - submitting authenticate transaction");

let authenticate_tx_hash = self.pool.hash_of(&ext);
let scan_result_blob = response.scan_result_blob.clone();
let scan_result_blob = response.scan_result_blob;

let mut watch = self.pool
.submit_and_watch(
Expand Down

0 comments on commit 68a682d

Please sign in to comment.