mirror of
https://github.com/btcsuite/btcd.git
synced 2025-02-25 07:07:45 +01:00
Redo ListTransactionsResult fix.
This was also lost in the move to jsonresults.go.
This commit is contained in:
parent
31a354e585
commit
0a14b19276
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ type ListTransactionsResult struct {
|
||||||
Amount float64 `json:"amount"`
|
Amount float64 `json:"amount"`
|
||||||
Fee float64 `json:"fee"`
|
Fee float64 `json:"fee"`
|
||||||
Confirmations int64 `json:"confirmations"`
|
Confirmations int64 `json:"confirmations"`
|
||||||
Generated bool `json:"generated"`
|
Generated bool `json:"generated,omitempty"`
|
||||||
BlockHash string `json:"blockhash,omitempty"`
|
BlockHash string `json:"blockhash,omitempty"`
|
||||||
BlockIndex int64 `json:"blockindex,omitempty"`
|
BlockIndex int64 `json:"blockindex,omitempty"`
|
||||||
BlockTime int64 `json:"blocktime,omitempty"`
|
BlockTime int64 `json:"blocktime,omitempty"`
|
||||||
|
@ -137,7 +137,7 @@ type ListTransactionsResult struct {
|
||||||
Time int64 `json:"time"`
|
Time int64 `json:"time"`
|
||||||
TimeReceived int64 `json:"timereceived"`
|
TimeReceived int64 `json:"timereceived"`
|
||||||
Comment string `json:"comment,omitempty"`
|
Comment string `json:"comment,omitempty"`
|
||||||
OtherAccount float64 `json:"otheraccount"`
|
OtherAccount string `json:"otheraccount"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// TxRawResult models the data from the getrawtransaction command.
|
// TxRawResult models the data from the getrawtransaction command.
|
||||||
|
|
Loading…
Add table
Reference in a new issue