Skip to content

buildBuyResaleTx lets the seller build a purchase of their own listing #512

Done

Description

@Mercy017

Where: src/tickets/tickets.service.ts → buildBuyResaleTx()
Problem: The contract rejects SelfPurchase, but the backend builds and simulates anyway, wasting an RPC call and returning a cryptic error.
Suggested fix: Reject with 400 when ticket.ownerId === buyerId.
Done when: A test covers it.

Activity

  1. added
    bug
    good first issue
    Stellar Wave
    on Nov 18, 2026
  2. vrse-vrde commented on Nov 24, 2026

    @vrse-vrde
    Contributor

    @vrse-vrde has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

    Hello Maintainer, after reviewing the issue, I believe I have the necessary skills to work on it. I would be grateful if you could assign it to me.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @vrse-vrde to this issue.

  3. drips-wave commented on Nov 24, 2026

    @drips-wave

    Congratulations, @vrse-vrde! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.

    🧑‍💻 @vrse-vrde: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  4. drips-wave commented on Nov 24, 2026

    @drips-wave

    This issue has been completed by @vrse-vrde as part of the Stellar Wave Program's 11th Wave 🥳

    😎 @vrse-vrde: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

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

Metadata

Metadata

Assignees

Labels

Stellar Wavebuggood first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions