Skip to content
Snippets Groups Projects
Unverified Commit 3a454132 authored by Silas Davis's avatar Silas Davis
Browse files

Don't log v0 params to avoid logging private key


Signed-off-by: default avatarSilas Davis <silas@monax.io>
parent 951d939c
No related branches found
No related tags found
No related merge requests found
......@@ -132,8 +132,7 @@ func (js *JSONService) Process(r *http.Request, w http.ResponseWriter) {
if handler, ok := js.defaultHandlers[mName]; ok {
js.logger.TraceMsg("Request received",
"id", req.Id,
"method", req.Method,
"params", string(req.Params))
"method", req.Method)
resp, errCode, err := handler(req, w)
if err != nil {
js.writeError(err.Error(), req.Id, errCode, w)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment