fix: `addressTableLookups` no longer serialized unless version set (#31729)

This commit is contained in:
Steven Luscher 2023-05-22 10:29:18 -07:00 committed by GitHub
parent 917f3d2586
commit bc4d53c7ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1275,6 +1275,7 @@ pub struct UiParsedMessage {
pub account_keys: Vec<ParsedAccount>,
pub recent_blockhash: String,
pub instructions: Vec<UiInstruction>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub address_table_lookups: Option<Vec<UiAddressTableLookup>>,
}