Skip to content

Commit

Permalink
Fix structure Utxo, make reference_script optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
oskin1 committed Apr 5, 2024
1 parent ea20b36 commit 8593c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/addresses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub struct Utxo {
pub assets: Vec<Asset>,
pub datum: Option<HashMap<String, serde_json::Value>>,
pub index: i64,
pub reference_script: ReferenceScript,
pub reference_script: Option<ReferenceScript>,
pub tx_hash: String,
#[serde(alias="txout_cbor")]
pub tx_out_cbor: String,
Expand Down

0 comments on commit 8593c04

Please sign in to comment.