From 40b6a66c89e37e9b144bd433cb01c6664c5fdc85 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 9 Oct 2007 19:14:46 +0000 Subject: [PATCH] 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 --- src/or/dirvote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/dirvote.c b/src/or/dirvote.c index ef16479b9e..43d0b108f1 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -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);