some cleanup from review

This commit is contained in:
Ethan Buchman
2017-04-28 23:18:38 -04:00
parent 297772e009
commit efeadcc0f4
8 changed files with 6 additions and 131 deletions

View File

@ -58,7 +58,6 @@ func WriteRPCResponseHTTPError(w http.ResponseWriter, httpCode int, res types.RP
}
func WriteRPCResponseHTTP(w http.ResponseWriter, res types.RPCResponse) {
// jsonBytes := wire.JSONBytesPretty(res)
jsonBytes, err := json.Marshal(res)
if err != nil {
panic(err)