Skip to content

Commit 384bf40

Browse files
committed
[repo] account: add gocyclo nolint for getCodeData
1 parent f8c256d commit 384bf40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/core/repository/account/filter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ func (r *Repository) countAccountStates(ctx context.Context, f *filter.AccountsR
226226
return qCount.Count(ctx)
227227
}
228228

229-
func (r *Repository) getCodeData(ctx context.Context, rows []*core.AccountState, excludeCode, excludeData bool) error { //nolint:gocognit // TODO: make one function working for both code and data
229+
func (r *Repository) getCodeData(ctx context.Context, rows []*core.AccountState, excludeCode, excludeData bool) error { //nolint:gocognit,gocyclo // TODO: make one function working for both code and data
230230
codeHashesSet, dataHashesSet := map[string]struct{}{}, map[string]struct{}{}
231231
for _, row := range rows {
232232
if !excludeCode && len(row.Code) == 0 && len(row.CodeHash) == 32 {

0 commit comments

Comments
 (0)