Skip to content

Commit

Permalink
typos sync.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Pricstas authored Dec 18, 2024
1 parent 6146386 commit 8ea8f5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trie/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,14 +270,14 @@ func (s *Sync) Process(result SyncResult) error {
if s.nodeReqs[result.Hash] == nil && s.codeReqs[result.Hash] == nil {
return ErrNotRequested
}
// There is an pending code request for this data, commit directly
// There is a pending code request for this data, commit directly
var filled bool
if req := s.codeReqs[result.Hash]; req != nil && req.data == nil {
filled = true
req.data = result.Data
s.commit(req)
}
// There is an pending node request for this data, fill it.
// There is a pending node request for this data, fill it.
if req := s.nodeReqs[result.Hash]; req != nil && req.data == nil {
filled = true
// Decode the node data content and update the request
Expand Down

0 comments on commit 8ea8f5a

Please sign in to comment.