aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/channelpadding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/or/channelpadding.c')
-rw-r--r--src/core/or/channelpadding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/channelpadding.c b/src/core/or/channelpadding.c
index 47a04e5248..1f559f6c42 100644
--- a/src/core/or/channelpadding.c
+++ b/src/core/or/channelpadding.c
@@ -186,7 +186,7 @@ channelpadding_get_netflow_inactive_timeout_ms(const channel_t *chan)
high_timeout = MAX(high_timeout, chan->padding_timeout_high_ms);
}
- if (low_timeout == high_timeout)
+ if (low_timeout >= high_timeout)
return low_timeout; // No randomization
/*