Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
kroist committed Feb 21, 2024
1 parent 9b0cf2c commit b3aff02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shielder/contract/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ pub mod contract {
}

/// Returns merkle path
/// WARNING: that might expose identity of caller!
#[ink(message)]
pub fn notes_merkle_path(&self, note_id: u32) -> Result<[Scalar; DEPTH], ShielderError> {
self.notes.gen_proof(note_id)
Expand Down

0 comments on commit b3aff02

Please sign in to comment.