Skip to content

Commit 6416b95

Browse files
authored
Merge pull request #2171 from larry0x/larry/typo
Fix a typo
2 parents 6bdfd9c + e6edbb9 commit 6416b95

File tree

7 files changed

+3
-3
lines changed

7 files changed

+3
-3
lines changed

packages/crypto/src/bls12_318/pairing.rs renamed to packages/crypto/src/bls12_381/pairing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ mod test {
6767
use sha2::{Digest, Sha256};
6868

6969
use crate::{
70-
bls12_318::points::{g1_from_fixed, g2_from_fixed, g2_from_variable, G1},
70+
bls12_381::points::{g1_from_fixed, g2_from_fixed, g2_from_variable, G1},
7171
bls12_381_hash_to_g2, bls12_381_pairing_equality, CryptoError, HashFunction,
7272
PairingEqualityError,
7373
};

packages/crypto/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
extern crate alloc;
77

88
mod backtrace;
9-
mod bls12_318;
9+
mod bls12_381;
1010
mod ecdsa;
1111
mod ed25519;
1212
mod errors;
@@ -15,7 +15,7 @@ mod secp256k1;
1515
mod secp256r1;
1616

1717
#[doc(hidden)]
18-
pub use crate::bls12_318::{
18+
pub use crate::bls12_381::{
1919
bls12_381_aggregate_g1, bls12_381_aggregate_g2, bls12_381_g1_is_identity,
2020
bls12_381_g2_is_identity, bls12_381_hash_to_g1, bls12_381_hash_to_g2,
2121
bls12_381_pairing_equality, HashFunction,

0 commit comments

Comments
 (0)