Repository navigation
Retain small payments and require affirmative wallet acceptance - #14
Open
ty-everett wants to merge 2 commits into
Open
ty-everett wants to merge 2 commits into
ty-everett wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A payment below 2,000 sats cannot cover the SDK’s return fee. The current Reject path acknowledges its inbox message without accepting or refunding it, removing the recipient’s recovery path. Keep these messages queued, disable that action with an explanation, and allow explicit acceptance instead.
Also require paymentResult.accepted === true before removing an incoming row or funding a larger return. A generic object or negative receipt cannot establish wallet acceptance. Legacy BEEF normalization remains supported.
Nine focused safety regressions retain the baseline: six fail before the correction and three controls pass. The candidate passes all 28 source tests, TypeScript checking and the production build; the production dependency audit reports zero findings. The real PaymentList component also passes a local Chromium self-test: small return disabled, negative receipt keeps the row, and a positive receipt permits removal. Its wallet receipts and identity display are synthetic, and all external requests are blocked.
The existing Verify frontend job now retains the JSON report and rejects missing, failed, skipped or pending safety cases before its normal build/startup-size checks. Final exact-head CI 42138012470 passes; production deployment is skipped for the PR. A redundant workflow from the initial candidate was removed in favor of this existing check.
This PR does not resolve the separate fixed-relay inbox behavior, missing receiving advertisements, lost-acknowledgment send retries, or durable larger-return recovery. Those remain open payment lab requirements. No dependency or application version changes, production deployment, personal wallet connection or funds transfer is included. Native payment qualification remains required before release.