Add CompactAction::nullifier getter fn

This commit is contained in:
Hazel OHearn 2022-06-23 16:06:37 -03:00
parent 4e12b4e90a
commit 6956c18d31
No known key found for this signature in database
GPG Key ID: 8B008A957E71F0F8
1 changed files with 5 additions and 0 deletions

View File

@ -327,6 +327,11 @@ impl CompactAction {
enc_ciphertext,
}
}
///Returns the nullifier of the note being spent.
pub fn nullifier(&self) -> Nullifier {
self.nullifier
}
}
#[cfg(test)]