Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .avalanche-golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ linters:
- ineffassign
- misspell
- nakedret
# - nilerr
- nilerr
- noctx
- nolintlint
- perfsprint
Expand Down
2 changes: 1 addition & 1 deletion sync/statesync/trie_sync_tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (s *storageTrieTask) OnStart() (bool, error) {
}
storageTrie, err := trie.New(trie.StorageTrieID(s.sync.root, s.root, firstAccount), s.sync.trieDB)
if err != nil {
return false, nil
return false, nil //nolint:nilerr // the storage trie does not exist, so it should be rerequested
}

// If the storage trie is already on disk, we only need to populate the storage snapshot for [accountHash]
Expand Down
Loading