aboutsummaryrefslogtreecommitdiff
path: root/reqres.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-10-30 18:12:19 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-10-30 18:12:19 +0100
commit918c25a54e0b7f28e25b9748d5d05feef2e4458f (patch)
tree46eb2bce232fe4bf28d8ec8f5ac770d2cbbf3a17 /reqres.go
parent24eb746adec654637f88ae185012dc984cf9b2dc (diff)
removed fixed TODO comment
Diffstat (limited to 'reqres.go')
-rw-r--r--reqres.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/reqres.go b/reqres.go
index 598503d..a1e0d78 100644
--- a/reqres.go
+++ b/reqres.go
@@ -128,7 +128,6 @@ func NewGetProofByHashRequest(httpRequest *http.Request) (GetProofByHashRequest,
if treeSize < 0 {
return GetProofByHashRequest{}, fmt.Errorf("bad tree_size parameter: negative value")
}
- // TODO: check that tree size is not past STH.tree_size
hash, err := base64.StdEncoding.DecodeString(httpRequest.FormValue("hash"))
if err != nil {