HomePhabricator

[Cashtab] Replace hardcoded param with variable

Description

[Cashtab] Replace hardcoded param with variable

Summary: Removed two insances of 5.5 hardcoded in Send.js and replaced them with fromSmallestDenomination(clurrency.dustSats). Related to task T2107.

Test Plan:
npm web/cashtab && npm start
Use the reply message link and ensure that the amount input on the send form is 5.5.
Input an amount less than 5.5 in the amount input and ensure the error message indicates that you need to send at least 5.5 XEC.

Reviewers: bytesofman, #bitcoin_abc

Reviewed By: bytesofman, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D10729

Details

Provenance
kieran709Authored on Dec 22 2021, 21:46
kieran709Pushed on Dec 30 2021, 17:37
Reviewer
Restricted Project
Differential Revision
D10729: [Cashtab] Replace hardcoded param with variable
Parents
rABC101ad1f4c08f: [Cashtab] Option to send encrypted messages
Branches
Unknown
Tags
Unknown