From 380132ac7e81ae148248d0c466258a0bcf848af8 Mon Sep 17 00:00:00 2001 From: keyne Date: Thu, 25 Jul 2024 18:24:19 +0100 Subject: [PATCH] fix autopilot --- contracts/stride-liquid-staker/src/contract.rs | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/contracts/stride-liquid-staker/src/contract.rs b/contracts/stride-liquid-staker/src/contract.rs index 5c6f7ba1..eb37de8d 100644 --- a/contracts/stride-liquid-staker/src/contract.rs +++ b/contracts/stride-liquid-staker/src/contract.rs @@ -235,19 +235,7 @@ pub fn query(deps: QueryDeps, env: Env, msg: QueryMsg) -> NeutronResult )? .0; - let autopilot = Autopilot { - autopilot: AutopilotConfig { - receiver: ica.to_string(), - stakeibc: crate::helpers::Stakeibc { - action: "LiquidStake".to_string(), - stride_address: ica, - }, - }, - }; - - let autopilot_str = to_json_string(&autopilot)?; - - Ok(to_json_binary(&autopilot_str)?) + Ok(to_json_binary(&ica)?) } QueryMsg::RemoteChainInfo {} => { Ok(to_json_binary(&REMOTE_CHAIN_INFO.may_load(deps.storage)?)?)