tor-netdir: Make CHANNEL_PADDING_TIMEOUT_UPPER_BOUND pub

We need this because it is a type parameter for the types of nf_ito_*.
This commit is contained in:
Ian Jackson 2022-06-16 17:55:58 +01:00
parent 9779e5a2e2
commit db71018021
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ use tor_units::{
/// <https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/586#note_2813638>
/// pending an update to the specifications
/// <https://gitlab.torproject.org/tpo/core/torspec/-/issues/120>
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 {