fix(labels): correct payjoin transaction labeling - #2482
Conversation
The transaction reference validation checked the whole 'txid:vout' string against the 64-hex-char txid rule, so it rejected every valid input/output/publicKey label reference. Validate the txid slice only.
Validate a label before inserting it, and skip (rather than throw on) a corrupt persisted row when reading back, so one bad row can't take down the whole label fetch.
|
@claude audit this PR please |
|
Claude finished @ethicnology's task in 4m 42s —— View job Audit of PR #2482 — fix(labels): correct payjoin transaction labeling
VerdictThe two fixes are real and correct. I verified both bugs on
Findings1. 2. A 3. Throwaway 4. Corrupt rows already in users' DBs are now hidden, never cleaned 5. Scope: nothing in this diff is payjoin-specific — please confirm the intent Minor / nits
CaveatsFlutter isn't available in this runner and no CI runs are attached to the PR yet, so I couldn't execute |
Fixes incorrect labeling of completed payjoin transactions.
Merge order: independent — any time after #2443. No dependency on PR1-PR5, PR7.
#2443 → PR6 (this)