From 4363543cf00197fb706cc8d3ee25a15906a005f1 Mon Sep 17 00:00:00 2001 From: Rostyslav Tyshko Date: Mon, 2 Dec 2024 02:17:34 +0100 Subject: [PATCH] unused --- node_core/src/executions/de.rs | 1 - node_core/src/executions/se.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/node_core/src/executions/de.rs b/node_core/src/executions/de.rs index e8b9fef..662bb25 100644 --- a/node_core/src/executions/de.rs +++ b/node_core/src/executions/de.rs @@ -42,7 +42,6 @@ pub fn commit(comm: &CommitmentSecrets, tag: Tag) -> PedersenCommitment { PedersenCommitment::new(SECP256K1, comm.value, comm.value_blinding_factor, generator) } -// Hash function placeholder (replace with your cryptographic library's hash). fn hash(input: &[u8]) -> Vec { Sha256::digest(input).to_vec() } diff --git a/node_core/src/executions/se.rs b/node_core/src/executions/se.rs index ed8d04e..5ae5a1d 100644 --- a/node_core/src/executions/se.rs +++ b/node_core/src/executions/se.rs @@ -42,7 +42,6 @@ pub fn commit(comm: &CommitmentSecrets, tag: Tag) -> PedersenCommitment { PedersenCommitment::new(SECP256K1, comm.value, comm.value_blinding_factor, generator) } -// Hash function placeholder (replace with your cryptographic library's hash). fn hash(input: &[u8]) -> Vec { Sha256::digest(input).to_vec() }