Skip to content

Commit

Permalink
Log more invoice details to help identify messges with blank payment …
Browse files Browse the repository at this point in the history
…hash
  • Loading branch information
bumi committed Jan 15, 2024
1 parent 8deabc5 commit 22af946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/service/invoicesubscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (svc *LndhubService) ProcessInvoiceUpdate(ctx context.Context, rawInvoice *
var invoice models.Invoice
rHashStr := hex.EncodeToString(rawInvoice.RHash)

svc.Logger.Infof("Invoice update: r_hash:%s state:%v", rHashStr, rawInvoice.State.String())
svc.Logger.Infof("Invoice update: r_hash:%s state:%v add_index:%v amount:%v", rHashStr, rawInvoice.State.String(), rawInvoice.AddIndex, rawInvoice.AmtPaidSat)

//Check if it's a keysend payment
//If it is, an invoice will be created on-the-fly
Expand Down

0 comments on commit 22af946

Please sign in to comment.