Skip to content

Commit

Permalink
fix: non-attr serde
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Sep 12, 2024
1 parent 0f8c58e commit 0f1b946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rpc-types-eth/src/call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub struct Bundle {
/// All transactions to execute
pub transactions: Vec<TransactionRequest>,
/// Block overrides to apply
#[serde(default, skip_serializing_if = "Option::is_none")]
#[cfg_attr(feature = "serde", serde(default, skip_serializing_if = "Option::is_none"))]
pub block_override: Option<BlockOverrides>,
}

Expand Down

0 comments on commit 0f1b946

Please sign in to comment.