Skip to content

Commit

Permalink
🩹 fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ZamDimon committed Oct 25, 2024
1 parent 7913099 commit 1f97d5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bigint/naf/implementation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub fn binary_to_be_naf(num_bits: usize) -> Script {
OP_2DUP OP_BITAND OP_IF
// In case they are both 1, we need to change them to -1 and 0, while the carry must be one
OP_3DROP
1 (-1) 0
{ 1 } { -1 } { 0 }
OP_ENDIF

OP_ROT
Expand Down
4 changes: 2 additions & 2 deletions src/bigint/stack/implementation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ impl<const N_BITS: usize, const LIMB_SIZE: usize> NonNativeBigIntImpl<N_BITS, LI
}
}

/// Extends the big integer to the specified type.
/// Extends the big integer to the specified [`NonNativeLimbInteger`].
pub(in super::super) fn handle_OP_EXTEND<T>() -> Script
where
T: NonNativeLimbInteger,
Expand Down Expand Up @@ -238,7 +238,7 @@ impl<const N_BITS: usize, const LIMB_SIZE: usize> NonNativeBigIntImpl<N_BITS, LI
}
}

/// Extends the big integer to the specified type.
/// Compresses the big integer to the specified [`NonNativeLimbInteger`].
pub(in super::super) fn handle_OP_COMPRESS<T>() -> Script
where
T: NonNativeLimbInteger,
Expand Down

0 comments on commit 1f97d5d

Please sign in to comment.