Skip to content

Commit

Permalink
lint fix: simplified range expression in isValidJSONDocument function
Browse files Browse the repository at this point in the history
  • Loading branch information
arnabghose997 committed Nov 25, 2023
1 parent 8bf73b6 commit a87f940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/ssi/keeper/msg_server_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func isValidJSONDocument(schemaProperty string) error {
for attributeName, attributeObj := range schemaPropertyDocument {
isTypeSubAttributePresent := false

for subAttributeName, _ := range attributeObj {
for subAttributeName := range attributeObj {
if subAttributeName == "type" {
isTypeSubAttributePresent = true
} else if subAttributeName == "format" {
Expand Down

0 comments on commit a87f940

Please sign in to comment.