fix
liuxiaolong
2021-06-04 e2c3330eb73157ece61f487e6aa96e222fac63c8
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
   })