Skip to content

Commit

Permalink
chore: rename NCT to SCT in bin (pcli) crate
Browse files Browse the repository at this point in the history
  • Loading branch information
TalDerei committed Oct 29, 2023
1 parent 0ad704b commit 1d27685
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/bin/pcli/tests/proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ fn spend_proof_parameters_vs_current_spend_circuit() {
let rsk = sk_sender.spend_auth_key().randomize(&spend_auth_randomizer);
let nk = *sk_sender.nullifier_key();
let ak: VerificationKey<SpendAuth> = sk_sender.spend_auth_key().into();
let mut nct = tct::Tree::new();
nct.insert(tct::Witness::Keep, note_commitment).unwrap();
let anchor = nct.root();
let note_commitment_proof = nct.witness(note_commitment).unwrap();
let mut sct = tct::Tree::new();
sct.insert(tct::Witness::Keep, note_commitment).unwrap();
let anchor = sct.root();
let note_commitment_proof = sct.witness(note_commitment).unwrap();
let v_blinding = Fr::rand(&mut OsRng);
let balance_commitment = value_to_send.commit(v_blinding);
let rk: VerificationKey<SpendAuth> = rsk.into();
Expand Down

0 comments on commit 1d27685

Please sign in to comment.