wallet: add transaction label to transaction summary

This commit is contained in:
carla 2020-04-30 09:08:11 +02:00
parent f852d2f991
commit 3809a6d553
No known key found for this signature in database
GPG key ID: 4CA7FE54A6213C91

View file

@ -148,6 +148,7 @@ func makeTxSummary(dbtx walletdb.ReadTx, w *Wallet, details *wtxmgr.TxDetails) T
MyOutputs: outputs,
Fee: fee,
Timestamp: details.Received.Unix(),
Label: details.Label,
}
}
@ -365,6 +366,7 @@ type TransactionSummary struct {
MyOutputs []TransactionSummaryOutput
Fee btcutil.Amount
Timestamp int64
Label string
}
// TransactionSummaryInput describes a transaction input that is relevant to the