File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,21 @@ pub async fn start_agent() -> (ActorRef<SenderAccountsManagerMessage>, JoinHandl
174174 . await
175175 . expect ( "Error creating escrow_accounts channel" ) ;
176176
177- let config = Box :: leak ( Box :: new ( SenderAccountConfig :: from_config ( & CONFIG ) ) ) ;
177+ let config = Box :: leak ( Box :: new ( {
178+ let mut config = SenderAccountConfig :: from_config ( & CONFIG ) ;
179+ // FIXME: This is a temporary measure to disable
180+ // Horizon, even if enable through our configuration file.
181+ // Force disable Horizon support
182+ config. horizon_enabled = false ;
183+ // Add a warning log so operators know their setting was ignore
184+ if CONFIG . horizon . enabled {
185+ tracing:: warn!(
186+ "Horizon support is configured as enabled but has been forcibly disabled as it's not fully supported yet. \
187+ This is a temporary measure until Horizon support is stable."
188+ ) ;
189+ }
190+ config
191+ } ) ) ;
178192
179193 let args = SenderAccountsManagerArgs {
180194 config,
You can’t perform that action at this time.
0 commit comments