mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 00:01:09 +00:00
Fix typos and markdown (#2388)
* Fix typos * Align properly * Update core/consensus/slots/src/lib.rs Co-Authored-By: cmichi <mich@elmueller.net> * Update core/network/src/test/mod.rs Co-Authored-By: cmichi <mich@elmueller.net> * Update core/finality-grandpa/src/communication/mod.rs Co-Authored-By: cmichi <mich@elmueller.net> * Update core/consensus/common/src/import_queue.rs Co-Authored-By: cmichi <mich@elmueller.net>
This commit is contained in:
committed by
Bastian Köcher
parent
f0202aa425
commit
a0e0d9b03d
@@ -372,7 +372,7 @@ pub fn ensure_inherent<OuterOrigin, AccountId>(o: OuterOrigin) -> Result<(), &'s
|
||||
}
|
||||
|
||||
impl<T: Trait> Module<T> {
|
||||
/// Gets the index of extrinsic that is currenty executing.
|
||||
/// Gets the index of extrinsic that is currently executing.
|
||||
pub fn extrinsic_index() -> Option<u32> {
|
||||
storage::unhashed::get(well_known_keys::EXTRINSIC_INDEX)
|
||||
}
|
||||
@@ -462,7 +462,7 @@ impl<T: Trait> Module<T> {
|
||||
<Number<T>>::put(n);
|
||||
}
|
||||
|
||||
/// Sets the index of extrinsic that is currenty executing.
|
||||
/// Sets the index of extrinsic that is currently executing.
|
||||
#[cfg(any(feature = "std", test))]
|
||||
pub fn set_extrinsic_index(extrinsic_index: u32) {
|
||||
storage::unhashed::put(well_known_keys::EXTRINSIC_INDEX, &extrinsic_index)
|
||||
|
||||
Reference in New Issue
Block a user