From db710180217aeb1d3070d24a37d2fc687a28433e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 16 Jun 2022 17:55:58 +0100 Subject: [PATCH] tor-netdir: Make CHANNEL_PADDING_TIMEOUT_UPPER_BOUND pub We need this because it is a type parameter for the types of nf_ito_*. --- crates/tor-netdir/src/params.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/tor-netdir/src/params.rs b/crates/tor-netdir/src/params.rs index 295fb6e88..82f36253d 100644 --- a/crates/tor-netdir/src/params.rs +++ b/crates/tor-netdir/src/params.rs @@ -32,7 +32,7 @@ use tor_units::{ /// /// pending an update to the specifications /// -const CHANNEL_PADDING_TIMEOUT_UPPER_BOUND: i32 = 60_000; +pub const CHANNEL_PADDING_TIMEOUT_UPPER_BOUND: i32 = 60_000; /// An object that can be constructed from an i32, with saturating semantics. pub trait FromInt32Saturating {