Skip to content

Commit

Permalink
fix wrong swap enum for one way
Browse files Browse the repository at this point in the history
  • Loading branch information
Arrowana committed Apr 22, 2024
1 parent 81badde commit 2f0bac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jup_interface/src/pool_pair/one_way.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ where
)?);
account_metas.push(swap_params.placeholder_account_meta());
Ok(SwapAndAccountMetas {
swap: Swap::StakeDexSwapViaStake { bridge_stake_seed },
swap: Swap::StakeDexPrefundWithdrawStakeAndDepositStake { bridge_stake_seed },
account_metas,
})
}
Expand Down

0 comments on commit 2f0bac2

Please sign in to comment.