fix timestamp in utxo list

This commit is contained in:
Niko Storni 2019-06-25 20:34:51 -04:00
parent 8367901104
commit 0f894aaecc

View file

@ -436,17 +436,16 @@ type StatusResponse struct {
} }
type UTXOListResponse []struct { type UTXOListResponse []struct {
Address string `json:"address"` Address string `json:"address"`
Amount string `json:"amount"` Amount string `json:"amount"`
Confirmations int `json:"confirmations"` Confirmations int `json:"confirmations"`
Height int `json:"height"` Height int `json:"height"`
IsChange bool `json:"is_change"` IsChange bool `json:"is_change"`
IsSupport bool `json:"is_support"` IsMine bool `json:"is_mine"`
IsMine bool `json:"is_mine"` Nout int `json:"nout"`
Nout int `json:"nout"` Timestamp *string `json:"timestamp"`
Timestamp *time.Time `json:"timestamp"` Txid string `json:"txid"`
Txid string `json:"txid"` Type string `json:"type"`
Type string `json:"type"`
} }
type VersionResponse struct { type VersionResponse struct {