diff --git a/core/client/src/client.rs b/core/client/src/client.rs index 24a352ef641b0..fdd50b0d01e8b 100644 --- a/core/client/src/client.rs +++ b/core/client/src/client.rs @@ -497,7 +497,7 @@ impl Client 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, diff --git a/core/network/src/protocol/message.rs b/core/network/src/protocol/message.rs index 22fb35806da86..c180bc3669423 100644 --- a/core/network/src/protocol/message.rs +++ b/core/network/src/protocol/message.rs @@ -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, }