lnrpc: display transaction label in transaction details
This commit is contained in:
7 files changed
+756
-729
No files matched your search
@@ -519,6 +519,7 @@ func minedTransactionsToDetails(
|
||||
TotalFees: int64(tx.Fee),
|
||||
DestAddresses: destAddresses,
|
||||
RawTx: tx.Transaction,
|
||||
Label: tx.Label,
|
||||
}
|
||||
|
||||
balanceDelta, err := extractBalanceDelta(tx, wireTx)
|
||||
@@ -564,6 +565,7 @@ func unminedTransactionsToDetail(
|
||||
Timestamp: summary.Timestamp,
|
||||
DestAddresses: destAddresses,
|
||||
RawTx: summary.Transaction,
|
||||
Label: summary.Label,
|
||||
}
|
||||
|
||||
balanceDelta, err := extractBalanceDelta(summary, wireTx)
|
||||
|
||||
@@ -103,6 +103,9 @@ type TransactionDetail struct {
|
||||
|
||||
// RawTx returns the raw serialized transaction.
|
||||
RawTx []byte
|
||||
|
||||
// Label is an optional transaction label.
|
||||
Label string
|
||||
}
|
||||
|
||||
// TransactionSubscription is an interface which describes an object capable of
|
||||
|
||||
Reference in new issue
Block a user