Skip to content

Commit

Permalink
Fix abci error response
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex committed Apr 20, 2022
1 parent 0bc1479 commit 856de37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/handler/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func GnoRenderQueryHandler(cli client.ABCIClient) http.HandlerFunc {
}

if res.Response.Error != nil {
writeError(w, err)
writeError(w, res.Response.Error)
return
}

Expand All @@ -58,7 +58,7 @@ func AuthQueryHandler(cli client.ABCIClient) http.HandlerFunc {
}

if res.Response.Error != nil {
writeError(w, err)
writeError(w, res.Response.Error)
return
}

Expand Down

0 comments on commit 856de37

Please sign in to comment.