Skip to content

Commit

Permalink
v1.17: [zk-token-sdk] Fix range proof transcript seed typo (backport …
Browse files Browse the repository at this point in the history
…of #34468) (#34470)

[zk-token-sdk] Fix range proof transcript seed typo (#34468)

fix range proof transcript seed typo

(cherry picked from commit aaccbdd)

Co-authored-by: samkim-crypto <[email protected]>
  • Loading branch information
mergify[bot] and samkim-crypto authored Dec 14, 2023
1 parent 96d57e8 commit 509b9b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zk-token-sdk/src/instruction/batched_range_proof/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl BatchedRangeProofContext {
fn new_transcript(&self) -> Transcript {
let mut transcript = Transcript::new(b"BatchedRangeProof");
transcript.append_message(b"commitments", bytes_of(&self.commitments));
transcript.append_message(b"bit-legnths", bytes_of(&self.bit_lengths));
transcript.append_message(b"bit-lengths", bytes_of(&self.bit_lengths));
transcript
}

Expand Down

0 comments on commit 509b9b9

Please sign in to comment.