Merge pull request #3531 from LightningPeach/fix-tx-subscr

Add BlockHeight param to SubscribeTransactions when tx is confirmed
This commit is contained in:
Johan T. Halseth 2019-09-26 09:26:25 +02:00 committed by GitHub
commit 7fcac54dff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3643,6 +3643,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,