tRemove finished TODOs - tordam - A library for peer discovery inside the Tor network
 (HTM) git clone https://git.parazyd.org/tordam
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit ec4a199968764024c84e2c82d142fdc7549f3f01
 (DIR) parent ff836242ff085b9a62f5baf2297c2e7bdbb8ddbe
 (HTM) Author: parazyd <parazyd@dyne.org>
       Date:   Fri,  8 Dec 2017 11:40:46 +0100
       
       Remove finished TODOs
       
       Diffstat:
         M cmd/dam-client/main.go              |       3 ---
         M cmd/dam-dir/main.go                 |       2 --
       
       2 files changed, 0 insertions(+), 5 deletions(-)
       ---
 (DIR) diff --git a/cmd/dam-client/main.go b/cmd/dam-client/main.go
       t@@ -56,9 +56,6 @@ func main() {
                log.Println("Sending request")
                resp := lib.HTTPPost("http://localhost:8080/announce", jsonVal)
        
       -        // TODO: Handle the secret decryption and returning it back decrypted to the
       -        // directory. Note to self: start saving state on ddir's side.
       -
                // Parse server's reply
                var m msgStruct
                decoder := json.NewDecoder(resp.Body)
 (DIR) diff --git a/cmd/dam-dir/main.go b/cmd/dam-dir/main.go
       t@@ -130,8 +130,6 @@ func handlePost(rw http.ResponseWriter, request *http.Request) {
        
                if len(req["secret"]) == 88 {
                        // Client sent a decrypted secret.
       -                //decodedSec, err := base64.StdEncoding.DecodeString(req["secret"])
       -                //lib.CheckError(err)
        
                        var correct = false
                        localSec, err := RedisCli.HGet(n.Address, "secret").Result()