Skip to content

qt: fix crash through stale pi resolve#10726

Merged
ecdsa merged 1 commit into
spesmilo:masterfrom
f321x:fix_10724
Jul 1, 2026
Merged

qt: fix crash through stale pi resolve#10726
ecdsa merged 1 commit into
spesmilo:masterfrom
f321x:fix_10724

Conversation

@f321x

@f321x f321x commented Jul 1, 2026

Copy link
Copy Markdown
Member

When multiple PIs get resolved consecutively through repeated editing of the PI field, and the on_resolve_done callback tries to access a PI that has been cleared by a previous, failed callback an exception is raised.

I was able to reproduce this somehow by adding a sleep to PaymentIdentifier._do_resolve() and entering lightning addresses.

Fixes #10724

When multiple PIs get resolved consecutively through
repeated editing of the PI field, and the `on_resolve_done`
callback tries to access a PI that has been cleared by
a previous, failed callback an exception is raised.

I was able to reproduce this somehow by adding a sleep to
`PaymentIdentifier._do_resolve()` and entering lightning addresses.

Fixes spesmilo#10724
@f321x f321x added this to the 4.8.0 milestone Jul 1, 2026
@ecdsa ecdsa merged commit e1a083f into spesmilo:master Jul 1, 2026
11 checks passed
@f321x f321x deleted the fix_10724 branch July 1, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AttributeError: 'NoneType' object has no attribute 'is_multiline'

2 participants