lnwallet: remove DestAddresses from lnwallet

With `OutputDetail` now containing the destination addresses, the `DestAddresses` field can be removed from the `lnwallet.TransactionDetail`. It is already populated when needed for backwards compatibility to `lnrpc.TransactionDetail` via `OutputDetail.Addresses`.
This commit is contained in:
Bjarne Magnussen committed 2022-03-23 11:29:09 +01:00
1 parent 48c773ec87
commit 052bb9d711
3 files changed
+22 -20

No files matched your search

-3
View File
@@ -128,9 +128,6 @@ type TransactionDetail struct {
// TotalFees is the total fee in satoshis paid by this transaction.
TotalFees int64
// DestAddresses are the destinations for a transaction
DestAddresses []btcutil.Address
// OutputDetails contains output data for each destination address, such
// as the output script and amount.
OutputDetails []OutputDetail