code: func (nDB *NetworkDB) deleteNetworkNode(nid string, nodeName string) {
  	nodes, ok := nDB.networkNodes[nid]
  	if !ok || len(nodes) == 0 {
  		return
  	}
  	newNodes := make([]string, 0, len(nodes)-1)
  	for _, name := range nodes {
  		if name == nodeName {
  			continue
  		}
  		newNodes = append(newNodes, name)
  	}
  	nDB.networkNodes[nid] = newNodes
  }
docs: // Deletes the node from the list of nodes which participate in the
  // passed network. Caller should hold the NetworkDB lock while calling
  // this