mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-09 20:33:45 +01:00
routing: fix race condition when resuming payments
This commit is contained in:
@@ -533,7 +533,7 @@ func (r *ChannelRouter) Start() error {
|
||||
PaymentHash: payment.Info.PaymentHash,
|
||||
}
|
||||
|
||||
_, _, err = r.sendPayment(payment.Attempt, lPayment, paySession)
|
||||
_, _, err := r.sendPayment(payment.Attempt, lPayment, paySession)
|
||||
if err != nil {
|
||||
log.Errorf("Resuming payment with hash %v "+
|
||||
"failed: %v.", payment.Info.PaymentHash, err)
|
||||
|
||||
Reference in New Issue
Block a user