• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

spesmilo / electrum / 5461428980678656
62%
master: 63%

Build:
Build:
LAST BUILD BRANCH: fingerprint
DEFAULT BRANCH: master
Ran 27 Nov 2025 02:25PM UTC
Jobs 1
Files 88
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Nov 2025 02:15PM UTC coverage: 62.183% (-0.02%) from 62.206%
5461428980678656

Pull #10325

CirrusCI

f321x
swaps: fix race when doing reverse swap

There is a race when doing a reverse swap using gossip with multiple
lightning channels.
If we do a swap with a larger amount, suggest_splits might overallocate
split amounts for a channel as the pathfinding of both invoices runs
concurrently and before acutal htlcs that reduce the channels balance
have been added to the channel yet. This will then result in a "not
enough balance" PaymentFailure once we try to send the htlcs.

Adding a little sleep between the different payments fixes this, a
conceptual fix probably would need larger changes in the splitting logic
by reserving the amount on a channel that will soon get sent?
Pull Request #10325: swaps: fix race when doing reverse swap

0 of 4 new or added lines in 1 file covered. (0.0%)

7 existing lines in 3 files now uncovered.

23357 of 37562 relevant lines covered (62.18%)

0.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
22.02
-0.05% electrum/submarine_swaps.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.7
-0.25% electrum/lnonion.py
1
65.05
-0.07% electrum/util.py
5
54.92
-0.22% electrum/lnworker.py
Jobs
ID Job ID Ran Files Coverage
1 5461428980678656.1 27 Nov 2025 02:25PM UTC 88
62.18
Source Files on build 5461428980678656
  • Tree
  • List 88
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #54614289...
  • Pull Request #10325
  • PR Base - master (#53849442...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc