Skip to content

Commit

Permalink
fix(misc): AdditionalUtxoSetTxOut json marshalling
Browse files Browse the repository at this point in the history
  • Loading branch information
slowbackspace committed Jan 7, 2025
1 parent cbeb583 commit c6bdb2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api_transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,9 @@ type AdditionalUtxoSetTxIn struct {
type AdditionalUtxoSetTxOut struct {
Address string `json:"address"`
Value Value `json:"value"`
DatumHash *string `json:"datumHash"`
Datum interface{} `json:"datum"` // Could be various types
Script *TxOutScript `json:"script"`
DatumHash *string `json:"datum_hash,omitempty"`
Datum interface{} `json:"datum,omitempty"` // Could be various types
Script *TxOutScript `json:"script,omitempty"`
}

// AdditionalUtxoSet represents a slice of tuples (TxIn, TxOut)
Expand Down

0 comments on commit c6bdb2d

Please sign in to comment.