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

spesmilo / electrum / 5669223021674496
61%
master: 64%

Build:
Build:
LAST BUILD BRANCH: 202601_lnworker_is_preimage_public
DEFAULT BRANCH: master
Ran 16 Sep 2025 07:49AM UTC
Jobs 5
Files 88
Run time 34min
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

16 Sep 2025 07:38AM UTC coverage: 61.303% (+0.004%) from 61.299%
5669223021674496

Pull #10226

CirrusCI

f321x
wallet: fix AttributeError when getting help text

Fixes AttributeError when trying to get `num_sats_can_receive()` in
wallets without lnworker. Fixes https://github.com/spesmilo/electrum/issues/8100#issuecomment-3294556043.

```
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/electrum/gui/qt/request_list.py", line 103, in selection_changed
    self.receive_tab.update_current_request()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/electrum/gui/qt/receive_tab.py", line 237, in update_current_request
    help_texts = self.wallet.get_help_texts_for_receive_request(req)
  File "/usr/lib/python3.13/site-packages/electrum/wallet.py", line 3446, in get_help_texts_for_receive_request
    can_receive = self.lnworker.num_sats_can_receive()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'num_sats_can_receive'
```
Pull Request #10226: wallet: fix AttributeError when getting help text

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

47 existing lines in 2 files now uncovered.

22825 of 37233 relevant lines covered (61.3%)

3.06 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
67.81
0.0% electrum/wallet.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
57.25
-0.05% electrum/lnpeer.py
46
45.69
0.61% electrum/base_crash_reporter.py
Jobs
ID Job ID Ran Files Coverage
1 5669223021674496.1 16 Sep 2025 07:49AM UTC 88
61.22
2 5669223021674496.2 16 Sep 2025 07:52AM UTC 88
61.21
3 5669223021674496.3 16 Sep 2025 07:52AM UTC 88
61.23
4 5669223021674496.4 16 Sep 2025 07:54AM UTC 88
61.08
5 5669223021674496.5 16 Sep 2025 08:24AM UTC 88
61.07
Source Files on build 5669223021674496
  • Tree
  • List 88
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #56692230...
  • Pull Request #10226
  • PR Base - master (#62660465...)
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