Skip to content

Commit

Permalink
update golanci.yaml file; fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-korotya committed Sep 13, 2024
1 parent 8fbf3e7 commit 0355cba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,13 @@ linters:
- revive
- govet
- unconvert
- structcheck
- gas
- gocyclo
- dupl
- misspell
- unparam
- varcheck
- deadcode
- typecheck
- ineffassign
- varcheck
- stylecheck
- gochecknoinits
- exportloopref
Expand Down
1 change: 1 addition & 0 deletions packagemanager/packagemanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func (s *state) verify(_ circuits.CircuitID, pubsignals []string) error {
return errors.Errorf("error getting global state info by state '%s': %v",
globalState, err)
}
// to process states from private networks
// if (big.NewInt(0)).Cmp(globalStateInfo.CreatedAtTimestamp) == 0 {
// return errors.Errorf("root %s doesn't exist in smart contract",
// globalState.String())
Expand Down

0 comments on commit 0355cba

Please sign in to comment.