fix: `addressTableLookups` no longer serialized unless version set (#31729)
This commit is contained in:
parent
917f3d2586
commit
bc4d53c7ff
|
@ -1275,6 +1275,7 @@ pub struct UiParsedMessage {
|
||||||
pub account_keys: Vec<ParsedAccount>,
|
pub account_keys: Vec<ParsedAccount>,
|
||||||
pub recent_blockhash: String,
|
pub recent_blockhash: String,
|
||||||
pub instructions: Vec<UiInstruction>,
|
pub instructions: Vec<UiInstruction>,
|
||||||
|
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||||
pub address_table_lookups: Option<Vec<UiAddressTableLookup>>,
|
pub address_table_lookups: Option<Vec<UiAddressTableLookup>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue