commit b6de35cf742c0ba20bc211ee955bcb6e694bc1da
parent 7934583b6b6cd475c6a06d3ed576079cfb8c3bda
Author: parazyd <parazyd@dyne.org>
Date: Thu, 1 Nov 2018 15:39:46 +0100
dam-client: Fix typo in fetchNodeList.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/dam-client/main.go b/cmd/dam-client/main.go
@@ -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 {