diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-10-23 13:24:55 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-10-23 13:24:55 +0200 |
commit | 0aba64da241caef9f66e3b28e3504ec93eea8593 (patch) | |
tree | 7900a719b7598de66f58217013f4ef08b81a51ee | |
parent | 5b3ba26e5265aeda5710691cbb91a880beb1d228 (diff) |
added comments
-rw-r--r-- | handler.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,7 +82,7 @@ func getEntries(ctx context.Context, i *instance, w http.ResponseWriter, r *http request, err := NewGetEntriesRequest(r) if err != nil { return http.StatusBadRequest, err - } + } // request can be decoded and is valid trillianRequest := trillian.GetLeavesByRangeRequest{ LogId: i.logID, @@ -135,7 +135,7 @@ func getProofByHash(ctx context.Context, i *instance, w http.ResponseWriter, r * request, err := NewGetProofByHashRequest(r) if err != nil { return http.StatusBadRequest, err - } + } // request can be decoded and is valid trillianRequest := trillian.GetInclusionProofByHashRequest{ LogId: i.logID, |