diff --git a/zebra-chain/src/orchard/commitment.rs b/zebra-chain/src/orchard/commitment.rs index b2394697f0a..4e69258c4e5 100644 --- a/zebra-chain/src/orchard/commitment.rs +++ b/zebra-chain/src/orchard/commitment.rs @@ -36,7 +36,7 @@ where .try_fill_bytes(&mut bytes) .map_err(|_| RandError::FillBytes)?; // pallas::Scalar::from_uniform_bytes() reduces the input modulo q_P under the hood. - ok(pallas::Scalar::from_uniform_bytes(&bytes)) + Ok(pallas::Scalar::from_uniform_bytes(&bytes)) } /// The randomness used in the Simsemilla hash for note commitment.