From ea20b362bd16faf3636d8709d564af7d05de85e8 Mon Sep 17 00:00:00 2001 From: Ilya Date: Thu, 4 Apr 2024 16:57:50 +0000 Subject: [PATCH] Fix Utxo model add alias for tx_out_cbor. --- src/models/addresses.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/models/addresses.rs b/src/models/addresses.rs index 9a17090..2278b38 100644 --- a/src/models/addresses.rs +++ b/src/models/addresses.rs @@ -87,7 +87,8 @@ pub struct Utxo { pub index: i64, pub reference_script: ReferenceScript, pub tx_hash: String, - pub txout_cbor: String, + #[serde(alias="txout_cbor")] + pub tx_out_cbor: String, } #[derive(Deserialize)]