From 4328d6f7412815f7d06021c074274aa43c964967 Mon Sep 17 00:00:00 2001 From: Chris Czub Date: Fri, 26 Jan 2024 16:45:36 -0500 Subject: [PATCH] FINE JUST MAKE THE ExecutionCircuitBreaker TYPE PUBLIC THEN --- crates/core/component/dex/src/circuit_breaker/execution.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core/component/dex/src/circuit_breaker/execution.rs b/crates/core/component/dex/src/circuit_breaker/execution.rs index 32f1641a95..6887f6ff99 100644 --- a/crates/core/component/dex/src/circuit_breaker/execution.rs +++ b/crates/core/component/dex/src/circuit_breaker/execution.rs @@ -9,7 +9,7 @@ const MAX_EXECUTIONS: u32 = 64; /// /// The circuit breaker ensures the swap will not use unbounded time complexity. #[derive(Debug, Clone)] -pub(crate) struct ExecutionCircuitBreaker { +pub struct ExecutionCircuitBreaker { /// The maximum number of times to perform path searches before stopping. pub max_path_searches: u32, /// The number of times path searches have been performed.