benbjohnson/go-raft — pull request #34 by xiangli-cmu (2013-07-01 15:52:52+00:00)
Title: clean up promotion 

1. Send vote request in peer.go
2. collectVote in another func in server.go
clean up unneeded variables and codes [ change votes map[string]bool{} to grantedVote int]