Skip to content

Commit 43dbb6b

Browse files
adjust bls12_381 constant formatting
1 parent 8e9a392 commit 43dbb6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soroban-sdk/src/crypto/bls12_381.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use core::{
1515
pub const FP_SERIALIZED_SIZE: usize = 48; // Size in bytes of a serialized Fp element in BLS12-381. The field modulus is 381 bits, requiring 48 bytes (384 bits) with 3 bits reserved for flags.
1616
pub const FP2_SERIALIZED_SIZE: usize = FP_SERIALIZED_SIZE * 2;
1717
pub const G1_SERIALIZED_SIZE: usize = FP_SERIALIZED_SIZE * 2; // Must match soroban_sdk_macro::map_type::G1_SERIALIZED_SIZE.
18-
pub const G2_SERIALIZED_SIZE: usize = FP2_SERIALIZED_SIZE * 2;// Must match soroban_sdk_macro::map_type::G2_SERIALIZED_SIZE.
18+
pub const G2_SERIALIZED_SIZE: usize = FP2_SERIALIZED_SIZE * 2; // Must match soroban_sdk_macro::map_type::G2_SERIALIZED_SIZE.
1919

2020
/// Bls12_381 provides access to curve and field arithmetics on the BLS12-381
2121
/// curve.

0 commit comments

Comments
 (0)