From 013f5814ae6491d8e6673a930e712fa6bbfb7762 Mon Sep 17 00:00:00 2001 From: Sebastien Guillemot Date: Mon, 13 May 2024 22:26:17 +0900 Subject: [PATCH] fix clippy lint --- indexer/tasks/src/multiera/multiera_projected_nft.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/tasks/src/multiera/multiera_projected_nft.rs b/indexer/tasks/src/multiera/multiera_projected_nft.rs index 7edebd06..ee0fa1c7 100644 --- a/indexer/tasks/src/multiera/multiera_projected_nft.rs +++ b/indexer/tasks/src/multiera/multiera_projected_nft.rs @@ -342,7 +342,7 @@ fn find_lock_outputs_for_corresponding_partial_withdrawals( if withdrawal_assets == nft_data_assets { withdrawal_input_to_remove = Some((input_hash.clone(), *input_index)); - output_data.previous_utxo_tx_hash = input_hash.clone(); + output_data.previous_utxo_tx_hash.clone_from(input_hash); output_data.previous_utxo_tx_output_index = Some(*input_index); break; }