diff --git a/src/note_encryption.rs b/src/note_encryption.rs index 9ef73c26..2da2583a 100644 --- a/src/note_encryption.rs +++ b/src/note_encryption.rs @@ -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)]