diff --git a/node_core/src/executions/de.rs b/node_core/src/executions/de.rs index e8b9fefe..662bb258 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 ed8d04e3..5ae5a1d1 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() }