From f1cd5a5e3adc85f80ba79b4b75348651865de8c7 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期四, 15 八月 2019 17:21:34 +0800
Subject: [PATCH] rm a.Stop when Join failed

---
 searcher.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/searcher.go b/searcher.go
index 083e8fa..2f7096e 100644
--- a/searcher.go
+++ b/searcher.go
@@ -54,7 +54,7 @@
 func (d *delegate) NotifyMsg(b []byte) {
 	// logMsg(b)
 	n := NodeInfo{}
-	if err:= json.Unmarshal(b, &n);err !=nil {
+	if err:= json.Unmarshal(b, &n);err ==nil {
 		members[n.NodeID] = n
 	} else {
 		fmt.Println("NotifyMsg msg unmarshal err")

--
Gitblit v1.8.0