From 509b9b970babfcdee748f7abba6209d63fb2d230 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 15:55:38 -0800 Subject: [PATCH] v1.17: [zk-token-sdk] Fix range proof transcript seed typo (backport of #34468) (#34470) [zk-token-sdk] Fix range proof transcript seed typo (#34468) fix range proof transcript seed typo (cherry picked from commit aaccbdd0aee69e9aeddc5c16057295a0b2bc1dab) Co-authored-by: samkim-crypto --- zk-token-sdk/src/instruction/batched_range_proof/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zk-token-sdk/src/instruction/batched_range_proof/mod.rs b/zk-token-sdk/src/instruction/batched_range_proof/mod.rs index 07351d87854c89..5942f3852f7e56 100644 --- a/zk-token-sdk/src/instruction/batched_range_proof/mod.rs +++ b/zk-token-sdk/src/instruction/batched_range_proof/mod.rs @@ -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 }