Don't close the close channel Closing it causing anyone reading to yield zero.
1 files changed, 0 insertions(+), 1 deletions(-) M voter.go
M voter.go => voter.go +0 -1
@@ 97,7 97,6 @@ func handleCmd(cmd string, rw *bufio.ReadWriter, stream network.Stream) { panic(err) } election.close <- numPeers - close(election.close) election.closed = true case "shake": election.Lock()