Skip to content

Commit

Permalink
refactor: hide conversion under testing feature
Browse files Browse the repository at this point in the history
  • Loading branch information
polydez committed Jun 28, 2024
1 parent 1a420cf commit 617eadd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions objects/src/transaction/proven_tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ impl From<&InputNote> for InputNoteCommitment {
}
}

#[cfg(feature = "testing")]
impl From<Nullifier> for InputNoteCommitment {
fn from(nullifier: Nullifier) -> Self {
Self { nullifier, header: None }
Expand Down

0 comments on commit 617eadd

Please sign in to comment.