Skip to content

[BUG]: Logic checks ethBalance < BigInt(fee) ignores gas costs. #123

Description

@aniket866

Bug Description

  • Where? ReceivedInvoice.jsx

  • Issue: checkBalance logic for fees.

  • Fix: Logic checks ethBalance < BigInt(fee) but ignores gas costs.

  • Why: A transaction will fail even if they have exactly the fee amount, because they need Fee + Gas

Steps to Reproduce

N/A

Logs and Screenshots

N/A

Environment Details

N/A

Impact

Critical - Application is unusable

Code of Conduct

  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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