diff options
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 64bcfb1b92..e351dcee23 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -900,12 +900,6 @@ new_route_len(double cw, uint8_t purpose, smartlist_t *routers) return -1; } #endif -#if 0 - for (routelen = 3; ; routelen++) { /* 3, increment until coinflip says we're done */ - if (crypto_pseudo_rand_int(255) >= cw*255) /* don't extend */ - break; - } -#endif log_fn(LOG_DEBUG,"Chosen route length %d (%d routers available).",routelen, smartlist_len(routers)); |