File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
crates/blockchain-tree/src Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1198,7 +1198,7 @@ where
11981198 }
11991199 } ) ;
12001200
1201- durations_recorder. record_relative ( MakeCanonicalAction :: ClearTrieUpdatesForOtherChilds ) ;
1201+ durations_recorder. record_relative ( MakeCanonicalAction :: ClearTrieUpdatesForOtherChildren ) ;
12021202
12031203 // Send notification about new canonical chain and return outcome of canonicalization.
12041204 let outcome = CanonicalOutcome :: Committed { head : chain_notification. tip ( ) . header . clone ( ) } ;
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ pub(crate) enum MakeCanonicalAction {
8989 /// Inserting an old canonical chain.
9090 InsertOldCanonicalChain ,
9191 /// Clearing trie updates of other children chains after fork choice update.
92- ClearTrieUpdatesForOtherChilds ,
92+ ClearTrieUpdatesForOtherChildren ,
9393}
9494
9595/// Canonicalization metrics
@@ -118,7 +118,7 @@ struct MakeCanonicalMetrics {
118118 insert_old_canonical_chain : Histogram ,
119119 /// Duration of the clear trie updates of other children chains after fork choice update
120120 /// action.
121- clear_trie_updates_for_other_childs : Histogram ,
121+ clear_trie_updates_for_other_children : Histogram ,
122122}
123123
124124impl MakeCanonicalMetrics {
@@ -145,8 +145,8 @@ impl MakeCanonicalMetrics {
145145 MakeCanonicalAction :: InsertOldCanonicalChain => {
146146 self . insert_old_canonical_chain . record ( duration)
147147 }
148- MakeCanonicalAction :: ClearTrieUpdatesForOtherChilds => {
149- self . clear_trie_updates_for_other_childs . record ( duration)
148+ MakeCanonicalAction :: ClearTrieUpdatesForOtherChildren => {
149+ self . clear_trie_updates_for_other_children . record ( duration)
150150 }
151151 }
152152 }
You can’t perform that action at this time.
0 commit comments