Remove a reference to points_paid field in get response #82

Closed
anbsky wants to merge 2 commits from improvement/get_response into master
Showing only changes of commit ccef4d8e4d - Show all commits

View file

@ -304,6 +304,18 @@ type Support struct {
Txid string `json:"txid"` Txid string `json:"txid"`
} }
type PurchaseReceipt struct {
Address string `json:"file_name"`
Amount string `json:"amount"`
ClaimID string `json:"claim_id"`
Confirmations int `json:"confirmations"`
Height int `json:"height"`
Nout uint64 `json:"nout"`
Timestamp uint64 `json:"timestamp"`
Txid string `json:"txid"`
Type string `json:"purchase"`
}
type Claim struct { type Claim struct {
Address string `json:"address"` Address string `json:"address"`
Amount string `json:"amount"` Amount string `json:"amount"`
@ -323,6 +335,7 @@ type Claim struct {
NormalizedName string `json:"normalized_name"` NormalizedName string `json:"normalized_name"`
Nout uint64 `json:"nout"` Nout uint64 `json:"nout"`
PermanentURL string `json:"permanent_url"` PermanentURL string `json:"permanent_url"`
PurchaseReceipt *PurchaseReceipt `json:"purchase_receipt,omitempty"`
ShortURL string `json:"short_url"` ShortURL string `json:"short_url"`
SigningChannel *Claim `json:"signing_channel,omitempty"` SigningChannel *Claim `json:"signing_channel,omitempty"`
Timestamp int `json:"timestamp"` Timestamp int `json:"timestamp"`