diff --git a/stakedex_sdk/src/lib.rs b/stakedex_sdk/src/lib.rs index ecf4ea9..5da75fb 100644 --- a/stakedex_sdk/src/lib.rs +++ b/stakedex_sdk/src/lib.rs @@ -515,7 +515,7 @@ impl Stakedex { } /// Creates all possible Amms from the underlying available Stakedexes - pub fn get_amms(self, ignore_cpi_limitation: bool) -> Vec> { + pub fn get_amms(self) -> Vec> { #[derive(Clone)] enum Stakedex { SplStakePool(SplStakePoolStakedex), @@ -556,10 +556,6 @@ impl Stakedex { } } - if !ignore_cpi_limitation { - return amms; - } - // SplStakePool WithdrawStake + DepositStake // UnstakeIt DepositStake // Marinade DepositStake