Skip to content

Commit b6b9ea6

Browse files
committed
fix comments
1 parent f11441a commit b6b9ea6

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

sdk/pinocchio/src/curves/bn254/addition.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ const ALT_BN128_G1_SUB_BE: u64 = 1; // not implemented in the syscall
2323
///
2424
/// A `Result` containing the result of the addition in big-endian (EIP-197) encoding,
2525
/// or an error if the input is invalid.
26-
///
27-
/// Note: This function does **not** check if the input has the correct length.
28-
/// It will return an error if the length is invalid, incurring the cost of the syscall.
2926
#[inline(always)]
3027
pub fn alt_bn128_g1_addition_be(
3128
input: &[u8; ALT_BN128_ADDITION_INPUT_SIZE],

sdk/pinocchio/src/curves/bn254/multiplication.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ const ALT_BN128_G1_MUL_BE: u64 = 2;
2323
///
2424
/// A `Result` containing the result of the multiplication in big-endian (EIP-197)
2525
/// encoding, or an error if the input is invalid.
26-
///
27-
/// Note: This function does **not** check if the input has the correct length.
28-
/// It will return an error if the length is invalid, incurring the cost of the syscall.
2926
#[inline(always)]
3027
pub fn alt_bn128_g1_multiplication_be(
3128
input: &[u8; ALT_BN128_MULTIPLICATION_INPUT_SIZE],

0 commit comments

Comments
 (0)