ledger: fix a single character mistake causing a new variable to be created instead of updating the existing variable.
@@ -1002,7 +1002,7 @@ func (l *Ledger) SyncToLatestRound() {
restart := func() { // Respawn all previously stopped workers.
snowballK := conf.GetSnowballK()
- syncVotes := make(chan vote, snowballK)
+ syncVotes = make(chan vote, snowballK)
go CollectVotes(l.accounts, l.syncer, syncVotes, voteWG, snowballK)
l.sync = make(chan struct{})
