From a25cfd1333b189bbd17f3154aa62cd207d007004 Mon Sep 17 00:00:00 2001 From: Thomas Marchand Date: Tue, 25 Jul 2023 11:41:13 +0200 Subject: [PATCH] fix: using jediswap variables for sithswap --- src/endpoints/quests/sithswap/verify_added_liquidity.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/endpoints/quests/sithswap/verify_added_liquidity.rs b/src/endpoints/quests/sithswap/verify_added_liquidity.rs index 6b816920..bc0cced9 100644 --- a/src/endpoints/quests/sithswap/verify_added_liquidity.rs +++ b/src/endpoints/quests/sithswap/verify_added_liquidity.rs @@ -23,15 +23,15 @@ pub async fn handler( ) -> impl IntoResponse { let task_id = 20; let addr = &query.addr; - let mut calldata = vec![addr.clone(), state.conf.quests.jediswap.pairs.len().into()]; - calldata.append(&mut state.conf.quests.jediswap.pairs.clone()); + let mut calldata = vec![addr.clone(), state.conf.quests.sithswap.pairs.len().into()]; + calldata.append(&mut state.conf.quests.sithswap.pairs.clone()); // get starkname from address let call_result = state .provider .call_contract( CallFunction { - contract_address: state.conf.quests.jediswap.utils_contract, + contract_address: state.conf.quests.sithswap.utils_contract, entry_point_selector: selector!("sum_balances"), calldata, },