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:
3 files changed
+22
-20
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user