tdam-client: Fix typo in fetchNodeList. - tordam - A library for peer discovery inside the Tor network
HTML git clone https://git.parazyd.org/tordam
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit b6de35cf742c0ba20bc211ee955bcb6e694bc1da
DIR parent 7934583b6b6cd475c6a06d3ed576079cfb8c3bda
HTML Author: parazyd <parazyd@dyne.org>
Date: Thu, 1 Nov 2018 15:39:46 +0100
dam-client: Fix typo in fetchNodeList.
Diffstat:
M cmd/dam-client/main.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/cmd/dam-client/main.go b/cmd/dam-client/main.go
t@@ -100,7 +100,7 @@ func fetchNodeList(epLists []string, noremote bool) ([]string, error) {
}
// Local nodes known to Redis
- nodes, _ := lib.RedisCli.Keys(".onion").Result()
+ nodes, _ := lib.RedisCli.Keys("*.onion").Result()
for _, i := range nodes {
valid, err := lib.RedisCli.HGet(i, "valid").Result()
if err != nil {