mirror of https://github.com/zcash/halo2.git
Update src/note_encryption.rs
Co-authored-by: str4d <jack@electriccoin.co>
This commit is contained in:
parent
1e95360a74
commit
234eed9cbb
|
@ -85,6 +85,7 @@ pub struct OrchardDomain {
|
|||
}
|
||||
|
||||
impl OrchardDomain {
|
||||
/// Constructs a domain that can be used to trial-decrypt this action's output note.
|
||||
pub fn for_action<T>(act: &Action<T>) -> Self {
|
||||
OrchardDomain { rho: *act.nullifier() }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue