Skip to content

Commit

Permalink
cargo fmt --all
Browse files Browse the repository at this point in the history
  • Loading branch information
zees-dev committed Dec 17, 2023
1 parent 6099887 commit 27ae89a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions primitives/self-contained/src/checked_extrinsic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,12 @@ where
.ok_or(TransactionValidityError::Invalid(
InvalidTransaction::BadProof,
))??;
let res = self.function.apply_self_contained(signed_info, info, len).ok_or(
TransactionValidityError::Invalid(InvalidTransaction::BadProof),
)?;
let res = self
.function
.apply_self_contained(signed_info, info, len)
.ok_or(TransactionValidityError::Invalid(
InvalidTransaction::BadProof,
))?;
let post_info = match res {
Ok(info) => info,
Err(err) => err.post_info,
Expand Down

0 comments on commit 27ae89a

Please sign in to comment.