Client: Fix jupiter api field that is sometimes null

This commit is contained in:
Christian Kamm 2022-08-09 14:22:59 +02:00
parent 6d8290bebd
commit 19153b8874
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ pub struct QueryRoute {
pub out_amount: u64,
pub amount: u64,
pub other_amount_threshold: u64,
pub out_amount_with_slippage: u64,
pub out_amount_with_slippage: Option<u64>,
pub swap_mode: String,
pub price_impact_pct: f64,
pub market_infos: Vec<QueryMarketInfo>,