Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XRP: fix status in failed transactions with missing destination tag #16550

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

izmy
Copy link
Contributor

@izmy izmy commented Jan 22, 2025

Description

Suite incorrectly displayed success status in XRP transactions when destination tag was missing.

I also changed the color for the Confirmed status in transaction detail, because it could have been a confusing UX.

Related Issue

Resolve #16281

Screenshots:

image image

Copy link
Member

@tomasklim tomasklim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably hide amount change. However, the problem is that ripple does not show fee so it would look weird. Let's discuss

Screenshot 2025-01-23 at 8 53 36

packages/blockchain-link/src/workers/ripple/index.ts Outdated Show resolved Hide resolved
packages/blockchain-link-utils/src/ripple.ts Outdated Show resolved Hide resolved
Copy link
Member

@tomasklim tomasklim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix and add please new unit tests 🙏

@izmy izmy self-assigned this Jan 23, 2025
@izmy izmy requested a review from tomasklim January 27, 2025 12:12
@izmy
Copy link
Contributor Author

izmy commented Jan 27, 2025

Fix and add please new unit tests 🙏

done

@tomasklim
Copy link
Member

/rebase

Copy link

@trezor-ci trezor-ci force-pushed the fix/ripple-failed-transactions branch from fceb9df to 33de843 Compare January 27, 2025 12:42
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.

XRP tx incorrectly mark as successful even though it failed
2 participants