mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
chore: log LDK successful payment hash (#1832)
This commit is contained in:
parent
7212429c3c
commit
dcb3b4d453
1 changed files with 4 additions and 3 deletions
|
|
@ -600,8 +600,9 @@ func (ls *LDKService) SendPaymentSync(invoice string, amount *uint64) (*lnclient
|
|||
}
|
||||
|
||||
logger.Logger.WithFields(logrus.Fields{
|
||||
"duration": time.Since(paymentStart).Milliseconds(),
|
||||
"fee": fee,
|
||||
"duration": time.Since(paymentStart).Milliseconds(),
|
||||
"fee": fee,
|
||||
"payment_hash": event.PaymentHash,
|
||||
}).Info("Successful payment")
|
||||
|
||||
return &lnclient.PayInvoiceResponse{
|
||||
|
|
@ -2253,7 +2254,7 @@ func (ls *LDKService) PayOfferSync(ctx context.Context, offer string, amount uin
|
|||
logger.Logger.WithFields(logrus.Fields{
|
||||
"duration": time.Since(paymentStart).Milliseconds(),
|
||||
"fee": fee,
|
||||
}).Info("Successful payment")
|
||||
}).Info("Successful BOLT-12 payment")
|
||||
|
||||
return &lnclient.PayOfferResponse{
|
||||
PaymentHash: paymentHash,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue