mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-20 05:45:41 +00:00
fix two typos (#4048)
This commit is contained in:
@@ -497,7 +497,7 @@ impl<B, E, Block, RA> Client<B, E, Block, RA> where
|
|||||||
/// Get longest range within [first; last] that is possible to use in `key_changes`
|
/// Get longest range within [first; last] that is possible to use in `key_changes`
|
||||||
/// and `key_changes_proof` calls.
|
/// and `key_changes_proof` calls.
|
||||||
/// Range could be shortened from the beginning if some changes tries have been pruned.
|
/// Range could be shortened from the beginning if some changes tries have been pruned.
|
||||||
/// Returns Ok(None) if changes trues are not supported.
|
/// Returns Ok(None) if changes tries are not supported.
|
||||||
pub fn max_key_changes_range(
|
pub fn max_key_changes_range(
|
||||||
&self,
|
&self,
|
||||||
first: NumberFor<Block>,
|
first: NumberFor<Block>,
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ impl Decode for BlockAttributes {
|
|||||||
pub enum Direction {
|
pub enum Direction {
|
||||||
/// Enumerate in ascending order (from child to parent).
|
/// Enumerate in ascending order (from child to parent).
|
||||||
Ascending = 0,
|
Ascending = 0,
|
||||||
/// Enumerate in descendfing order (from parent to canonical child).
|
/// Enumerate in descending order (from parent to canonical child).
|
||||||
Descending = 1,
|
Descending = 1,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user