From aaccbdd0aee69e9aeddc5c16057295a0b2bc1dab 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 --- 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 5165ff0de0623c..b8310a01e06c7c 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 }