Skip to content

Commit

Permalink
Merge pull request #2981 from eltociear/patch-1
Browse files Browse the repository at this point in the history
chore: update lib.rs
  • Loading branch information
nazar-pc authored Aug 22, 2024
2 parents ae99702 + 4533878 commit dbc2855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/sp-domains/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ impl InvalidBundleType {
Self::IllegalTx(i) => *i,
Self::InvalidXDM(i) => *i,
Self::InherentExtrinsic(i) => *i,
// NOTE: the `InvalidBundleWeight` is targetting the whole bundle not a specific
// NOTE: the `InvalidBundleWeight` is targeting the whole bundle not a specific
// single extrinsic, as `extrinsic_index` is used as the order to check the extrinsic
// in the bundle returning `u32::MAX` indicate `InvalidBundleWeight` is checked after
// all the extrinsic in the bundle is checked.
Expand Down Expand Up @@ -1222,7 +1222,7 @@ impl InvalidBundleType {

// Return the index of the extrinsic that the invalid type points to
//
// NOTE: `InvalidBundleWeight` will return `None` since it is targetting the whole bundle not a
// NOTE: `InvalidBundleWeight` will return `None` since it is targeting the whole bundle not a
// specific single extrinsic
pub fn extrinsic_index(&self) -> Option<u32> {
match self {
Expand Down

0 comments on commit dbc2855

Please sign in to comment.