diff --git a/cgo/transactions.go b/cgo/transactions.go index 1dc3a2a..07ac053 100644 --- a/cgo/transactions.go +++ b/cgo/transactions.go @@ -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 } diff --git a/cgo/types.go b/cgo/types.go index 9ac6415..76f6da2 100644 --- a/cgo/types.go +++ b/cgo/types.go @@ -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 {