diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-01-29 17:29:34 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-01-29 17:29:34 +0100 |
commit | 7dfa743dce780659bd2e71130d91d51e93b1f68e (patch) | |
tree | a05f44a93ae28f6cdf3c4b19817a2d53c2370f61 /trillian.go | |
parent | 20903a5fb26e90ef4b94d157927c3e82bb1893c2 (diff) |
replaced x509 with namespace on the client-side
Diffstat (limited to 'trillian.go')
-rw-r--r-- | trillian.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trillian.go b/trillian.go index c20901f..233d5e8 100644 --- a/trillian.go +++ b/trillian.go @@ -24,7 +24,7 @@ func checkQueueLeaf(rsp *trillian.QueueLeafResponse, err error) error { func checkGetLeavesByRange(req *GetEntriesRequest, rsp *trillian.GetLeavesByRangeResponse, err error) (int, error) { if err != nil || rsp == nil || len(rsp.Leaves) == 0 || rsp.SignedLogRoot == nil || rsp.SignedLogRoot.LogRoot == nil { - return http.StatusInternalServerError, fmt.Errorf("%v", err) + return http.StatusInternalServerError, fmt.Errorf("%v", err) // TODO: break up into multiple returns? } if len(rsp.Leaves) > int(req.End-req.Start+1) { return http.StatusInternalServerError, fmt.Errorf("too many leaves: %d for [%d,%d]", len(rsp.Leaves), req.Start, req.End) |