This isn't idiomatic. You should range over the channel really.

```go
for v := range votes {
}
```