This commit is contained in:
jonesmarvin8 2026-01-21 17:48:10 -05:00
parent c6aa0c41b6
commit d204f386bb
4 changed files with 4 additions and 8 deletions

View File

@ -31,7 +31,7 @@ impl KeyNode for ChildKeysPrivate {
.last_chunk::<32>()
.expect("hash_value is 64 bytes, must be safe to get last 32");
//TODO: check these generations
// TODO: check these generations
let nsk = ssk.generate_nullifier_secret_key();
let vsk = ssk.generate_viewing_secret_key();

View File

@ -154,7 +154,7 @@ impl PrivateKeyHolder {
mod tests {
use super::*;
//TODO? are these necessary?
// TODO? are these necessary?
#[test]
fn seed_generation_test() {
let seed_holder = SeedHolder::new_os_random();

View File

@ -57,11 +57,7 @@ impl Message {
pub fn try_from_circuit_output(
public_account_ids: Vec<AccountId>,
nonces: Vec<Nonce>,
public_keys: Vec<(
NullifierPublicKey,
ViewingPublicKey,
EphemeralPublicKey,
)>,
public_keys: Vec<(NullifierPublicKey, ViewingPublicKey, EphemeralPublicKey)>,
output: PrivacyPreservingCircuitOutput,
) -> Result<Self, NssaError> {
if public_keys.len() != output.ciphertexts.len() {

View File

@ -270,7 +270,7 @@ pub mod tests {
use nssa_core::{
Commitment, Nullifier, NullifierPublicKey, NullifierSecretKey, SharedSecretKey,
account::{Account, AccountId, AccountWithMetadata, Nonce, data::Data},
encryption::{EphemeralPublicKey, ViewingPublicKey, Scalar},
encryption::{EphemeralPublicKey, Scalar, ViewingPublicKey},
program::{PdaSeed, ProgramId},
};