rpcserver: add BlockHeight param to SubscribeTransactions stream
This commit is contained in:
1 file changed
+1
@@ -3622,6 +3622,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,
|
||||||
|
|||||||
Reference in new issue
Block a user