summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/routerlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 4bc586d01b..de3e1e99c3 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -2381,6 +2381,8 @@ routerlist_remove_old(routerlist_t *rl, signed_descriptor_t *sd, int idx)
idx = sd->routerlist_index;
}
tor_assert(0 <= idx && idx < smartlist_len(rl->old_routers));
+ /* XXX020 edmanm's bridge relay triggered the following assert while
+ * running 0.2.0.12-alpha: */
tor_assert(smartlist_get(rl->old_routers, idx) == sd);
tor_assert(idx == sd->routerlist_index);