Skip to content

Transaction status polling crashes the app after wallet deletion #850

Description

@DRadmir

Deleting a wallet while it still has a pending or in-transit transaction leaves the status polling job running with the deleted wallet id. On the next status change the job re-inserts the transaction row and the app crashes with a foreign key constraint error (SQLITE_CONSTRAINT 787), reproduced with a swap and confirmed by a production stack trace. A fix making the polling write path update-only is ready and should land after #843, since both change the same transaction code.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status
📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions