func (p *politeiawww) handleActiveVote(w http.ResponseWriter, r *http.Request) {
	log.Tracef("handleActiveVote")

	avr, err := p.backend.ProcessActiveVote()
	if err != nil {
		RespondWithError(w, r, 0,
			"handleActiveVote: ProcessActivateVote %v", err)
		return
	}

	util.RespondWithJSON(w, http.StatusOK, avr)
}
// handleActiveVote returns all active proposals that have an active vote.
handleActiveVote returns all active proposals that have an active vote.
// handleActiveVote returns all active proposals that have an active vote .
func (p *politeiawww) handleActiveVote(w http.ResponseWriter, r *http.Request) {
	log.Tracef("handleActiveVote")
	avr, err := p.backend.ProcessActiveVote()
	if err != nil {
		RespondWithError(w, r, 0,
			"handleActiveVote: ProcessActivateVote %v", err)
		return
	}
	util.RespondWithJSON(w, http.StatusOK, avr)
}
func ( p * politeiawww ) handleActiveVote ( w http . ResponseWriter , r * http . Request ) { log . Tracef ( " " ) avr , err := p . backend . ProcessActiveVote ( ) if err != nil { RespondWithError ( w , r , 0 , " " , err ) return } util . RespondWithJSON ( w , http . StatusOK , avr ) }
handleActiveVote returns all active proposals that have an active vote.
handleActiveVote returns all active proposals that have an active vote .