Skip to content

BUG: Stale price data used if user delays payment #52

@aniket866

Description

@aniket866

Stale price data used during payment

Location: TransactionReview.jsx

Problem:tradeDataBuySc is fetched only once when the component mounts. If a user waits several minutes before clicking Pay, the quote becomes stale.

Impact:Transaction may fail if the contract validates price limits

User may execute the trade at an unfavorable / incorrect price

Proposed Fix:

  • Re-fetch the quote immediately before signing, or

  • Add a lightweight refresh mechanism (e.g., auto-refresh every ~15 seconds while on the review screen)

Expected Outcome:Price data is always fresh at the moment of transaction execution.

@Zahnentferner #51 Closes this Issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions