commit 59ee6cc93167ffe4c259124bca08c81239513cab
parent a21e7672224c07101f34819e76a97d9944764d09
Author: parazyd <parazyd@dyne.org>
Date: Sat, 9 Dec 2017 16:02:42 +0100
fix misplaced log message
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/lib/helpers.go b/pkg/lib/helpers.go
@@ -61,11 +61,11 @@ func ValidateReq(req map[string]string, pubkey string) ([]byte, bool) {
if len(re.FindString(req["address"])) != 22 {
return nil, false
}
+ log.Println(req["address"], "seems valid")
if len(pubkey) == 0 {
// Address is valid, we try to fetch its pubkey from a HSDir
cnt := 0
- log.Println(req["address"], "seems valid")
for { // We try until we have it.
cnt++
if cnt > 10 {