tAdd TODO note in dam-client. - 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 35119a0520a9674773b63fdc229a1eabe6b3ab82 (DIR) parent c2eda2650c7f4656d810557b7d536968600a5956 (HTM) Author: parazyd <parazyd@dyne.org> Date: Tue, 20 Feb 2018 12:21:05 +0100 Add TODO note in dam-client. Diffstat: M cmd/dam-client/main.go | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- (DIR) diff --git a/cmd/dam-client/main.go b/cmd/dam-client/main.go t@@ -170,6 +170,9 @@ func fetchDirlist(locations []string) ([]string, error) { } } } + + // TODO: fill dirSlice with info from our redis and start making a hydra. + if len(dirSlice) < 1 { log.Fatalln("Couldn't get any directories. Exiting.") } else if len(dirSlice) <= 6 {