Skip to content

fix: gate bounty claiming on a linked payout wallet - #141

Open
rafaio1 wants to merge 1 commit into
MergeFi:mainfrom
rafaio1:fix/issue-72-gate-claim-on-wallet
Open

rafaio1 wants to merge 1 commit into
MergeFi:mainfrom
rafaio1:fix/issue-72-gate-claim-on-wallet

Conversation

@rafaio1

@rafaio1 rafaio1 commented Aug 20, 2026

Copy link
Copy Markdown

Fixes #72.

handleClaim allowed a signed-in user to claim a bounty without checking if they had a linked Stellar payout wallet (user.stellarAddress). This could lead to a dead end where a merged PR triggers an automatic payout that has nowhere to go.

Added a check for user.stellarAddress before allowing the claim action. If the address is missing, the user is redirected to /connect with an error message explaining that a payout wallet must be linked first.

Fixes MergeFi#72.

handleClaim allowed a signed-in user to claim a bounty without checking
if they had a linked Stellar payout wallet (user.stellarAddress). This
could lead to a dead end where a merged PR triggers an automatic payout
that has nowhere to go.

Added a check for user.stellarAddress before allowing the claim action.
If the address is missing, the user is redirected to /connect with an
error message explaining that a payout wallet must be linked first.
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gate bounty claiming on a linked payout wallet — IssueActions lets a user claim with stellarAddress: null

1 participant