Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Jan 6, 2025
1 parent 123d414 commit a529f63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/crypto/src/bls12_381/points.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use crate::{errors::InvalidPoint, CryptoError};
pub struct G1(pub(crate) G1Affine);

impl G1 {
/// Creates the generaor in G1
/// Creates the generator in G1
#[inline]
pub fn generator() -> Self {
Self(G1Affine::generator())
Expand Down Expand Up @@ -73,7 +73,7 @@ impl<'a> core::iter::Sum<&'a G1> for G1 {
pub struct G2(pub(crate) G2Affine);

impl G2 {
/// Creates the generaor in G2
/// Creates the generator in G2
#[inline]
pub fn generator() -> Self {
Self(G2Affine::generator())
Expand Down
2 changes: 1 addition & 1 deletion packages/std/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ std = []
# given Ethereum 1.0, 2.0, Substrate, and other major projects use Tries
# we keep this optional, to allow possible future integration (or different Cosmos Backends)
iterator = []
# staking exposes bindings to a required staking moudle in the runtime, via new
# staking exposes bindings to a required staking module in the runtime, via new
# CosmosMsg types, and new QueryRequest types. This should only be enabled on contracts
# that require these types, so other contracts can be used on systems with eg. PoA consensus
staking = []
Expand Down

0 comments on commit a529f63

Please sign in to comment.