Update docs (#11313)

* Update docs

* Update primitives/runtime/src/traits.rs

* Update primitives/runtime/src/traits.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Shawn Tabrizi
2022-05-04 01:54:08 +01:00
committed by GitHub
parent 6d6f1e173b
commit e8c688e301
+1 -6
View File
@@ -874,12 +874,7 @@ pub trait SignedExtension:
/// Do any pre-flight stuff for a signed transaction.
///
/// Note this function by default delegates to `validate`, so that
/// all checks performed for the transaction queue are also performed during
/// the dispatch phase (applying the extrinsic).
///
/// If you ever override this function, you need to make sure to always
/// perform the same validation as in `validate`.
/// Make sure to perform the same checks as in [`Self::validate`].
fn pre_dispatch(
self,
who: &Self::AccountId,