From 906d0f817d3f6d434cc4d3eafa1495a83f76f1ed Mon Sep 17 00:00:00 2001 From: samkim-crypto Date: Thu, 14 Dec 2023 13:37:12 -0800 Subject: [PATCH] [zk-token-sdk] Fix range proof transcript seed typo (#34468) fix range proof transcript seed typo (cherry picked from commit aaccbdd0aee69e9aeddc5c16057295a0b2bc1dab) --- 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 }