Skip to content

Commit

Permalink
Fix Ok spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 authored Apr 19, 2023
1 parent 840ed8b commit 1c003f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-chain/src/orchard/commitment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1c003f3

Please sign in to comment.