Skip to content

Commit

Permalink
Skip serialization on None
Browse files Browse the repository at this point in the history
  • Loading branch information
squadgazzz committed Jan 20, 2025
1 parent 54a40e3 commit 7c64570
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/driver/src/infra/solver/dto/solution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ struct Fulfillment {
executed_amount: eth::U256,
#[serde_as(as = "Option<serialize::U256>")]
fee: Option<eth::U256>,
#[serde(skip_serializing_if = "Option::is_none")]
flashloan_lender: Option<FlashloanLender>,
}

Expand Down

0 comments on commit 7c64570

Please sign in to comment.