Skip to content

Commit

Permalink
fix autopilot
Browse files Browse the repository at this point in the history
  • Loading branch information
keyleu committed Jul 25, 2024
1 parent 4d65893 commit 380132a
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions contracts/stride-liquid-staker/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,19 +235,7 @@ pub fn query(deps: QueryDeps, env: Env, msg: QueryMsg) -> NeutronResult<Binary>
)?
.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)?)?)
Expand Down

0 comments on commit 380132a

Please sign in to comment.