Page MenuHomePhabricator

[Cashtab] Replace hardcoded param with variable
ClosedPublic

Authored by kieran709 on Dec 22 2021, 21:56.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Commits
rABCe1944dfa1519: [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.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
replace-hardcoded-param-sendjs
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 17737
Build 35300: Build Diffcashtab-tests
Build 35299: arc lint + arc unit