From 8593c0496eb86606ceb429286e2e98f96ce109c5 Mon Sep 17 00:00:00 2001 From: Ilya Date: Fri, 5 Apr 2024 09:29:31 +0000 Subject: [PATCH] Fix structure Utxo, make reference_script optional. --- src/models/addresses.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/addresses.rs b/src/models/addresses.rs index 2278b38..56d2f7d 100644 --- a/src/models/addresses.rs +++ b/src/models/addresses.rs @@ -85,7 +85,7 @@ pub struct Utxo { pub assets: Vec, pub datum: Option>, pub index: i64, - pub reference_script: ReferenceScript, + pub reference_script: Option, pub tx_hash: String, #[serde(alias="txout_cbor")] pub tx_out_cbor: String,