Merge pull request #3531 from LightningPeach/fix-tx-subscr
Add BlockHeight param to SubscribeTransactions when tx is confirmed
This commit is contained in:
commit
7fcac54dff
@ -3643,6 +3643,7 @@ func (r *rpcServer) SubscribeTransactions(req *lnrpc.GetTransactionsRequest,
|
|||||||
Amount: int64(tx.Value),
|
Amount: int64(tx.Value),
|
||||||
NumConfirmations: tx.NumConfirmations,
|
NumConfirmations: tx.NumConfirmations,
|
||||||
BlockHash: tx.BlockHash.String(),
|
BlockHash: tx.BlockHash.String(),
|
||||||
|
BlockHeight: tx.BlockHeight,
|
||||||
TimeStamp: tx.Timestamp,
|
TimeStamp: tx.Timestamp,
|
||||||
TotalFees: tx.TotalFees,
|
TotalFees: tx.TotalFees,
|
||||||
DestAddresses: destAddresses,
|
DestAddresses: destAddresses,
|
||||||
|
Loading…
Reference in New Issue
Block a user