mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 14:40:30 +01:00
Merge pull request #3732 from Crypt-iQ/router_race_1115
routing: fix race condition when resuming payments
This commit is contained in:
commit
29f12411cd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue