Skip to content

Commit

Permalink
Fix no payment timeout after probing
Browse files Browse the repository at this point in the history
  • Loading branch information
rkfg committed May 25, 2023
1 parent baac26d commit 85ce476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (r *regolancer) tryRebalance(ctx context.Context, attempt *int) (err error,
if err != nil {
log.Printf("Error rebuilding the route for probed payment: %s", errColor(err))
} else {
err = r.pay(ctx, amt, 0, maxFeeMsat, probedRoute, 0)
err = r.pay(attemptCtx, amt, 0, maxFeeMsat, probedRoute, 0)
if err == nil {
return nil, false
} else {
Expand Down

0 comments on commit 85ce476

Please sign in to comment.