Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
fix two typos (#4048)
Browse files Browse the repository at this point in the history
  • Loading branch information
contrun authored and gui1117 committed Nov 8, 2019
1 parent 9037ce1 commit 56d8c8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/client/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`
/// and `key_changes_proof` calls.
/// 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(
&self,
first: NumberFor<Block>,
Expand Down
2 changes: 1 addition & 1 deletion core/network/src/protocol/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl Decode for BlockAttributes {
pub enum Direction {
/// Enumerate in ascending order (from child to parent).
Ascending = 0,
/// Enumerate in descendfing order (from parent to canonical child).
/// Enumerate in descending order (from parent to canonical child).
Descending = 1,
}

Expand Down

0 comments on commit 56d8c8c

Please sign in to comment.