File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ func (s *stateObject) finalise() {
278278func (s * stateObject ) updateTrie (db Database ) Trie {
279279 // Make sure all dirty slots are finalized into the pending storage area
280280 s .finalise ()
281- if len (s .pendingStorage ) == 0 {
281+ if len (s .pendingStorage ) == 0 {
282282 return s .trie
283283 }
284284 // Track the amount of time wasted on updating the storge trie
@@ -310,7 +310,7 @@ func (s *stateObject) updateTrie(db Database) Trie {
310310
311311// UpdateRoot sets the trie root to the current root hash of
312312func (s * stateObject ) updateRoot (db Database ) {
313- if s .updateTrie (db ) == nil {
313+ if s .updateTrie (db ) == nil {
314314 // No changes, storage trie is not even loaded
315315 return
316316 }
@@ -324,7 +324,7 @@ func (s *stateObject) updateRoot(db Database) {
324324// CommitTrie the storage trie of the object to db.
325325// This updates the trie root.
326326func (s * stateObject ) CommitTrie (db Database ) error {
327- if s .updateTrie (db ) == nil {
327+ if s .updateTrie (db ) == nil {
328328 // No changes, storage trie is not even loaded
329329 return nil
330330 }
Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ type Leaf struct {
4242// internal preallocated temp space, and also a callback that is invoked when
4343// leaves are committed. The leafs are passed through the `leafCh`, to allow
4444// some level of paralellism.
45- // By 'some level' of paralellism , it's still the case that all leaves will be
46- // processed sequentially - onleaf will never be called in paralell or out of order.
45+ // By 'some level' of parallelism , it's still the case that all leaves will be
46+ // processed sequentially - onleaf will never be called in parallel or out of order.
4747type committer struct {
4848 tmp sliceBuffer
4949 sha keccakState
You can’t perform that action at this time.
0 commit comments