Skip to content

[bridge] Refactor StellarWallet processTransaction method #1051

@sameh-farouk

Description

@sameh-farouk

The current implementation is functional but inefficient when a transaction contains multiple "account_credited" effects for the bridge account. It leads to redundant API calls to fetch the same operations multiple times, which slows down the process.

To improve this, the method should be refactored to eliminate these redundant API calls. Additionally, it should validate the asset type and issuer for each payment.

It's also essential to handle cases where there are other operations besides payments, as this could cause some payment operations to be skipped and remain unprocessed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions