update membership initialize
@@ -32,6 +32,7 @@ func newMembership(name string, pi module.ProtocolInfo, p2p *PeerToPeer) *member
authorities: make(map[module.Authority]*RoleSet),
reactors: make(map[string]module.Reactor),
cbFuncs: make(map[uint16]receiveCbFunc),
+ subProtocols: make(map[uint16]module.ProtocolInfo),
destByRole: make(map[module.Role]byte),
//
log: newLogger("Membership", fmt.Sprintf("%s.%s.%s", p2p.channel, p2p.self.id, name)),
