Compare commits

...

2 Commits

Author SHA1 Message Date
rkfg e6c593cbb2 Update changelog 12 months ago
rkfg 85ce47602b Fix no payment timeout after probing 12 months ago

@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic
Versioning](https://semver.org/spec/v2.0.0.html).
## [1.12.2]
### Fixed
- Payment after probing used the global rebalancing context instead of attempt
context which can result in waiting for the payment to fail for too long (6
hours by default)
## [1.12.1]
### Changed
- Rapid rebalance now goes all the way down to min amount to squeeze all

@ -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 {

Loading…
Cancel
Save