diff --git a/zk-sdk/src/range_proof/generators.rs b/zk-sdk/src/range_proof/generators.rs index f67baf5fef2d4b..901f4f83027a41 100644 --- a/zk-sdk/src/range_proof/generators.rs +++ b/zk-sdk/src/range_proof/generators.rs @@ -95,13 +95,13 @@ impl RangeProofGens { } self.G_vec.extend( - &mut GeneratorsChain::new(&[b'G']) + &mut GeneratorsChain::new(b"G") .fast_forward(self.gens_capacity) .take(new_capacity - self.gens_capacity), ); self.H_vec.extend( - &mut GeneratorsChain::new(&[b'H']) + &mut GeneratorsChain::new(b"H") .fast_forward(self.gens_capacity) .take(new_capacity - self.gens_capacity), ); diff --git a/zk-token-sdk/src/range_proof/generators.rs b/zk-token-sdk/src/range_proof/generators.rs index da2dcbcf7cb734..b33ce32001a359 100644 --- a/zk-token-sdk/src/range_proof/generators.rs +++ b/zk-token-sdk/src/range_proof/generators.rs @@ -96,13 +96,13 @@ impl BulletproofGens { } self.G_vec.extend( - &mut GeneratorsChain::new(&[b'G']) + &mut GeneratorsChain::new(b"G") .fast_forward(self.gens_capacity) .take(new_capacity - self.gens_capacity), ); self.H_vec.extend( - &mut GeneratorsChain::new(&[b'H']) + &mut GeneratorsChain::new(b"H") .fast_forward(self.gens_capacity) .take(new_capacity - self.gens_capacity), );