From 456016959afcc1b8e793b99ba8f51ab0fde8e641 Mon Sep 17 00:00:00 2001 From: Oleksandr Pravdyvyi Date: Fri, 25 Apr 2025 08:48:30 +0300 Subject: [PATCH] fix: warning fix --- node_core/src/lib.rs | 4 ---- node_rpc/src/process.rs | 1 - 2 files changed, 5 deletions(-) diff --git a/node_core/src/lib.rs b/node_core/src/lib.rs index 11a485a..bc136e6 100644 --- a/node_core/src/lib.rs +++ b/node_core/src/lib.rs @@ -1130,7 +1130,6 @@ impl NodeCore { pub async fn operate_account_send_deshielded_one_receiver( &mut self, - acc_addr_sender: AccountAddress, acc_addr_rec: AccountAddress, utxo: UTXO, comm_gen_hash: [u8; 32], @@ -1591,7 +1590,6 @@ impl NodeCore { let (new_utxo, comm_gen_hash) = self.operate_account_mint_private(acc_addr, 100).await?; self.operate_account_send_deshielded_one_receiver( - acc_addr, acc_addr, new_utxo, comm_gen_hash, @@ -1647,7 +1645,6 @@ impl NodeCore { let (new_utxo, comm_gen_hash) = self.operate_account_mint_private(acc_addr, 100).await?; self.operate_account_send_deshielded_one_receiver( - acc_addr, acc_addr_rec, new_utxo, comm_gen_hash, @@ -1689,7 +1686,6 @@ impl NodeCore { .await?; self.operate_account_send_deshielded_one_receiver( - addrs_receivers[publication_index], addrs_receivers[publication_index], new_utxos[publication_index].clone(), comm_gen_hashes[publication_index], diff --git a/node_rpc/src/process.rs b/node_rpc/src/process.rs index 25cd9ec..c0065bb 100644 --- a/node_rpc/src/process.rs +++ b/node_rpc/src/process.rs @@ -661,7 +661,6 @@ impl JsonHandler { cover_guard .operate_account_send_deshielded_one_receiver( - acc_addr_sender, acc_addr, utxo_to_send, comm_hash,