Skip to content

Commit

Permalink
Fix Utxo model add alias for tx_out_cbor.
Browse files Browse the repository at this point in the history
  • Loading branch information
oskin1 committed Apr 4, 2024
1 parent 84f8bfe commit ea20b36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/models/addresses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit ea20b36

Please sign in to comment.