Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes spelling errors in comments across the codebase #157

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/src/ecmult.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ impl ECMultGenContext {

/// Generate a new `ECMultGenContext` on the heap. Note that this function is expensive.
pub fn new_boxed() -> Box<Self> {
// This unsafe block allocates a new, unitialized `ECMultGenContext` and
// This unsafe block allocates a new, uninitialized `ECMultGenContext` and
// then fills in the value. This is to avoid allocating it on stack
// because the struct is big. All values in `ECMultGenContext` are
// manually initialized after allocation.
Expand Down
2 changes: 1 addition & 1 deletion core/src/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub struct Field {
/// X = sum(i=0..9, n[i]*2^(i*26)) mod p
/// where p = 2^256 - 0x1000003D1
///
/// The least signifiant byte is in the front.
/// The least significant byte is in the front.
n: [u32; 10],
magnitude: u32,
normalized: bool,
Expand Down