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

View File

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