-
-
Notifications
You must be signed in to change notification settings - Fork 70
Labels
BlockchainRelated to blockchain functionality, consensus, and ledger mechanicsRelated to blockchain functionality, consensus, and ledger mechanicsJavaScriptFrontend or backend code in JavaScriptFrontend or backend code in JavaScriptNodesADM node software issues, APIs, connectivity, consensusADM node software issues, APIs, connectivity, consensusUX/UIUser interface and experience improvementsUser interface and experience improvementsbugSomething isn't workingSomething isn't working
Description
Summary
When a coin node (e.g, BTC), rejects tx with "dust amount" error, app doesn't process it correctly
Steps to reproduce
- Log in test account
- Go to chat
- Tap transfer BTC
- low amount ~
0.00000001btc - showing dust snackbar
- return to chat
- tx is pending
Expected behavior
Tx is rejected and appears in chat with rejected status
"Dust amount" snackbar
Stay on Send tx screen
Actual behavior
Tx is rejected in blockchain, but appears in chat with Pending status
Details and explanation
We cannot check whether it’s dust or not until we send the transaction to the node and get a response.
Dust amount snackbar:
"error\_dust\_amount": "Dust amount—Send more tokens",
"error\_dust\_amount": "Мелочь — Отправьте больше токенов",
Guidelines: In-Chat and Direct Crypto Transfers in ADAMANT https://github.com/orgs/Adamant-im/discussions/31
Screenshots or videos
No response
Environment
Prod: https://adm.im
Testing
For testing, send 1 sat (you can temporarily disable minTransferAmount during the test) ⟶ "Dust amount" expected.
Metadata
Metadata
Assignees
Labels
BlockchainRelated to blockchain functionality, consensus, and ledger mechanicsRelated to blockchain functionality, consensus, and ledger mechanicsJavaScriptFrontend or backend code in JavaScriptFrontend or backend code in JavaScriptNodesADM node software issues, APIs, connectivity, consensusADM node software issues, APIs, connectivity, consensusUX/UIUser interface and experience improvementsUser interface and experience improvementsbugSomething isn't workingSomething isn't working
Type
Projects
Status
In Progress