rpcserver: add BlockHeight param to SubscribeTransactions stream

This commit is contained in:
Vadym Popov 2019-09-23 14:15:07 +03:00
parent 20a5ee2f1e
commit 850085782a
No known key found for this signature in database
GPG Key ID: 80A808D6A76EE753

View File

@ -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,