From 850085782a989b2ff9aa3bc2cc336633ef2badff Mon Sep 17 00:00:00 2001 From: Vadym Popov Date: Mon, 23 Sep 2019 14:15:07 +0300 Subject: [PATCH] rpcserver: add BlockHeight param to SubscribeTransactions stream --- rpcserver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcserver.go b/rpcserver.go index bafa8244..8cf627e4 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -3622,6 +3622,7 @@ func (r *rpcServer) SubscribeTransactions(req *lnrpc.GetTransactionsRequest, Amount: int64(tx.Value), NumConfirmations: tx.NumConfirmations, BlockHash: tx.BlockHash.String(), + BlockHeight: tx.BlockHeight, TimeStamp: tx.Timestamp, TotalFees: tx.TotalFees, DestAddresses: destAddresses,