diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-06-17 15:10:23 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-06-17 15:10:23 +0000 |
commit | 9e944d07f8b2ab572ad91e0f1daaa3c9ec39187e (patch) | |
tree | e750766217cc75d49b05b3eb6c8f952a55114ef0 /src/or/test.c | |
parent | 547073bedc1996be748904c58632c5219bc60460 (diff) | |
download | tor-9e944d07f8b2ab572ad91e0f1daaa3c9ec39187e.tar.gz tor-9e944d07f8b2ab572ad91e0f1daaa3c9ec39187e.zip |
r13418@catbus: nickm | 2007-06-14 13:29:21 -0400
Adjust networkstatus_compute_consensus to take an argument saying how many voters there _should_ be.
svn:r10634
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c index d65a230b66..a66024dc1e 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -2386,7 +2386,7 @@ test_v3_networkstatus(void) smartlist_add(votes, v3); smartlist_add(votes, v1); smartlist_add(votes, v2); - consensus_text = networkstatus_compute_consensus(votes, + consensus_text = networkstatus_compute_consensus(votes, 3, cert3->identity_key, sign_skey_3); test_assert(consensus_text); |