Skip to content

Commit

Permalink
pczt: Store proof generation key for dummy spends
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Dec 7, 2024
1 parent 42a1de5 commit 29cff96
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,10 @@ impl PreparedSpendInfo {
value: Some(self.note.value()),
rseed: Some(*self.note.rseed()),
rcv: Some(self.rcv),
proof_generation_key: None,
proof_generation_key: self
.dummy_expsk
.as_ref()
.map(|expsk| expsk.proof_generation_key()),
witness: Some(self.merkle_path),
alpha: Some(alpha),
zip32_derivation: None,
Expand Down

0 comments on commit 29cff96

Please sign in to comment.