fix: merge updates

This commit is contained in:
Oleksandr Pravdyvyi
2025-05-21 08:34:03 +03:00
parent 77062e2e4e
commit 00fe02c1d1
2 changed files with 8 additions and 23 deletions
+2 -4
View File
@@ -15,7 +15,7 @@ use common::{
};
use k256::AffinePoint;
use public_context::PublicSCContext;
use utxo::{utxo_core::UTXO, utxo_tree::UTXOTreeInput};
use utxo::utxo_core::UTXO;
use crate::ActionData;
@@ -115,9 +115,7 @@ impl NodeChainStore {
let ephemeral_public_key_sender =
serde_json::from_slice::<AffinePoint>(&tx.ephemeral_pub_key)?;
for (utxo_id, (ciphertext, nonce, tag)) in
tx.encoded_data.clone().into_iter().enumerate()
{
for (ciphertext, nonce, tag) in tx.encoded_data.clone() {
let slice = nonce.as_slice();
let nonce =
accounts::key_management::constants_types::Nonce::clone_from_slice(slice);