[or-cvs] [ernie/master 2/2] Oops, don't break storing votes.
karsten at torproject.org
karsten at torproject.org
Wed Apr 14 13:34:42 UTC 2010
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Wed, 14 Apr 2010 15:33:48 +0200
Subject: Oops, don't break storing votes.
Commit: c4594a2ce700174bddf2c2adba04ac2ec1fb24ae
---
src/RelayDescriptorParser.java | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/RelayDescriptorParser.java b/src/RelayDescriptorParser.java
index c80913b..26435ef 100644
--- a/src/RelayDescriptorParser.java
+++ b/src/RelayDescriptorParser.java
@@ -208,8 +208,7 @@ public class RelayDescriptorParser {
byte[] forDigest = new byte[sig - start];
System.arraycopy(data, start, forDigest, 0, sig - start);
String digest = DigestUtils.shaHex(forDigest).toUpperCase();
- this.aw.storeVote(data, validAfter,
- new ArrayList<String>(dirSources).get(0), digest);
+ this.aw.storeVote(data, validAfter, dirSource, digest);
}
}
}
--
1.6.5
More information about the tor-commits
mailing list