Skip to content

Commit

Permalink
Update ledger/ledger.go
Browse files Browse the repository at this point in the history
  • Loading branch information
cce authored Aug 21, 2024
1 parent be464cf commit 97d0bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/ledger.go
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ func (l *Ledger) GetKnockOfflineCandidates(rnd basics.Round, proto config.Consen
return nil, nil
}
// get latest state proof voters information, up to rnd, without calling cond.Wait()
rnd, voters := l.acctsOnline.voters.LatestCompletedVotersUpTo(rnd)
_, voters := l.acctsOnline.voters.LatestCompletedVotersUpTo(rnd)
if voters == nil { // no cached voters found < rnd
return nil, nil
}
Expand Down

0 comments on commit 97d0bcf

Please sign in to comment.