Skip to content

Commit

Permalink
change type from Pubkey to String for QuoteConfig dexes & excludeDexes (
Browse files Browse the repository at this point in the history
#16)

change type from Pubkey to String
  • Loading branch information
kiranmuddam authored Jul 1, 2024
1 parent 7b40509 commit 07a447c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ impl fmt::Display for SwapMode {
pub struct QuoteConfig {
pub slippage_bps: Option<u64>,
pub swap_mode: Option<SwapMode>,
pub dexes: Option<Vec<Pubkey>>,
pub exclude_dexes: Option<Vec<Pubkey>>,
pub dexes: Option<Vec<String>>,
pub exclude_dexes: Option<Vec<String>>,
pub only_direct_routes: bool,
pub as_legacy_transaction: Option<bool>,
pub platform_fee_bps: Option<u64>,
Expand Down

0 comments on commit 07a447c

Please sign in to comment.