aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/conflux_pool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/or/conflux_pool.c')
-rw-r--r--src/core/or/conflux_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/conflux_pool.c b/src/core/or/conflux_pool.c
index 5a677fb9aa..74781b307a 100644
--- a/src/core/or/conflux_pool.c
+++ b/src/core/or/conflux_pool.c
@@ -743,7 +743,7 @@ try_finalize_set(unlinked_circuits_t *unlinked)
/* If there are too many legs, we can't link. */
if (smartlist_len(unlinked->legs) +
- smartlist_len(unlinked->cfx->legs) > CONFLUX_MAX_CIRCS) {
+ smartlist_len(unlinked->cfx->legs) > conflux_params_get_max_legs_set()) {
log_fn(LOG_PROTOCOL_WARN, LD_CIRC,
"Conflux set has too many legs to link. "
"Rejecting this circuit.");