From b7ed7f6d3979c95783f89ecd0d1a906012b6df90 Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Fri, 4 Oct 2024 09:20:47 -0400 Subject: [PATCH] feat: add flatten to match actual RPC JSON --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 08da8a3..4623bf9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -139,7 +139,7 @@ pub struct GetTransactionResponseRaw { pub oldest_ledger: u32, #[serde(rename = "oldestLedgerCloseTime")] pub oldest_ledger_close_time: u32, - #[serde(rename = "transactionInfo")] + #[serde(flatten)] pub transaction_info: TransactionInfoRaw, }