Skip to content

Commit

Permalink
return vout for transactions
Browse files Browse the repository at this point in the history
Signed-off-by: Philemon Ukane <[email protected]>
  • Loading branch information
ukane-philemon committed Aug 8, 2024
1 parent 3e0360d commit dbc5f93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cgo/transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ func listTransactions(cName, cFrom, cCount *C.char) *C.char {
Fee: ltw.Fee,
Time: ltw.Time,
TxID: ltw.TxID,
Vout: ltw.Vout,
}
ltRes[i] = lt
}
Expand Down
1 change: 1 addition & 0 deletions cgo/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ type ListTransactionRes struct {
Fee *float64 `json:"fee,omitempty"`
Time int64 `json:"time"`
TxID string `json:"txid"`
Vout uint32 `json:"vout"`
}

type BirthdayState struct {
Expand Down

0 comments on commit dbc5f93

Please sign in to comment.