r15589@catbus: nickm | 2007-10-09 15:08:00 -0400

Fix dumb typo in vote retrieval: we want to check the pending votes to see what we are missing; not the previous period.


svn:r11811
This commit is contained in:
Nick Mathewson 2007-10-09 19:14:46 +00:00
parent a3d4c47515
commit 40b6a66c89

View File

@ -1235,7 +1235,7 @@ dirvote_fetch_missing_votes(void)
{
if (!(ds->type & V3_AUTHORITY))
continue;
if (!dirvote_get_vote(ds->v3_identity_digest, 1, 1, 0)) {
if (!dirvote_get_vote(ds->v3_identity_digest, 1, 0, 1)) {
char *cp = tor_malloc(HEX_DIGEST_LEN+1);
base16_encode(cp, HEX_DIGEST_LEN+1, ds->v3_identity_digest,
DIGEST_LEN);