diff --git a/substrate/core/client/src/client.rs b/substrate/core/client/src/client.rs index 24a352ef641b0cb8991e951c00ee3a625966f066..fdd50b0d01e8b769b15fa533cbd8090e5d57dbb4 100644 --- a/substrate/core/client/src/client.rs +++ b/substrate/core/client/src/client.rs @@ -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>, diff --git a/substrate/core/network/src/protocol/message.rs b/substrate/core/network/src/protocol/message.rs index 22fb35806da86ffef39d48ba28ab8dc8322c9aae..c180bc3669423669905b2e54411608bce1dbd260 100644 --- a/substrate/core/network/src/protocol/message.rs +++ b/substrate/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, }