mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 14:40:51 +02:00
multi: add more logging when fetching invoices and payments.
This commit is contained in:
@@ -365,10 +365,13 @@ func (p *controlTower) SubscribeAllPayments() (ControlTowerSubscriber, error) {
|
||||
p.subscriberIndex++
|
||||
p.subscribersMtx.Unlock()
|
||||
|
||||
log.Debugf("Scanning for inflight payments")
|
||||
inflightPayments, err := p.db.FetchInFlightPayments()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
log.Debugf("Scanning for inflight payments finished",
|
||||
len(inflightPayments))
|
||||
|
||||
for index := range inflightPayments {
|
||||
// Always write current payment state to the channel.
|
||||
|
Reference in New Issue
Block a user