From e67dc008802aafb884dc94da054f2090da4005e2 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期三, 02 六月 2021 15:44:57 +0800
Subject: [PATCH] upate bhsgo,use MsgQueryTopicReply_BHNodeAddress

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

diff --git a/clientFactory.go b/clientFactory.go
index d154fca..70fe0d1 100644
--- a/clientFactory.go
+++ b/clientFactory.go
@@ -16,7 +16,7 @@
 }
 
 type Option struct {
-	nodes []bhome_msg.BHAddress
+	nodes []*bhome_msg.MsgQueryTopicReply_BHNodeAddress
 }
 
 type IOption interface {
@@ -37,7 +37,7 @@
 	}
 }
 
-func WithNodes(nodeArr []bhome_msg.BHAddress) IOption {
+func WithNodes(nodeArr []*bhome_msg.MsgQueryTopicReply_BHNodeAddress) IOption {
 	return newFuncOption(func(o *Option) {
 		o.nodes = nodeArr
 	})

--
Gitblit v1.8.0