Add signing channel to transaction (transaction_show)

This commit is contained in:
Mark Beamer Jr 2021-04-16 15:53:22 -04:00
parent 3027fb9b98
commit 6516df1418
No known key found for this signature in database
GPG key ID: 1C314FB89AD76973
2 changed files with 2 additions and 1 deletions

View file

@ -793,7 +793,7 @@ func TestClient_WalletRemoveWalletAdd(t *testing.T) {
} }
func TestClient_TransactionSummary(t *testing.T) { func TestClient_TransactionSummary(t *testing.T) {
d := NewClient("") d := NewClient("https://api.lbry.tv/api/v1/proxy")
r, err := d.TransactionShow("d104a1616c6af581e2046819de678f370d624e97cf176f95acaec4b183a42db6") r, err := d.TransactionShow("d104a1616c6af581e2046819de678f370d624e97cf176f95acaec4b183a42db6")
if err != nil { if err != nil {
t.Error(err) t.Error(err)

View file

@ -251,6 +251,7 @@ type Transaction 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"`
SigningChannel *Claim `json:"signing_channel,omitempty"`
TimeStamp uint64 `json:"time_stamp"` TimeStamp uint64 `json:"time_stamp"`
Protobuf string `json:"protobuf,omitempty"` Protobuf string `json:"protobuf,omitempty"`
Txid string `json:"txid"` Txid string `json:"txid"`