wallet: add transaction label to transaction summary
This commit is contained in:
parent
f852d2f991
commit
3809a6d553
1 changed files with 2 additions and 0 deletions
|
@ -148,6 +148,7 @@ func makeTxSummary(dbtx walletdb.ReadTx, w *Wallet, details *wtxmgr.TxDetails) T
|
||||||
MyOutputs: outputs,
|
MyOutputs: outputs,
|
||||||
Fee: fee,
|
Fee: fee,
|
||||||
Timestamp: details.Received.Unix(),
|
Timestamp: details.Received.Unix(),
|
||||||
|
Label: details.Label,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -365,6 +366,7 @@ type TransactionSummary struct {
|
||||||
MyOutputs []TransactionSummaryOutput
|
MyOutputs []TransactionSummaryOutput
|
||||||
Fee btcutil.Amount
|
Fee btcutil.Amount
|
||||||
Timestamp int64
|
Timestamp int64
|
||||||
|
Label string
|
||||||
}
|
}
|
||||||
|
|
||||||
// TransactionSummaryInput describes a transaction input that is relevant to the
|
// TransactionSummaryInput describes a transaction input that is relevant to the
|
||||||
|
|
Loading…
Reference in a new issue