Page MenuHomePhabricator

[Cashtab] Validate multisend amounts for decimal places
ClosedPublic

Authored by bytesofman on Dec 6 2023, 00:13.

Details

Reviewers
emack
PiRK
Group Reviewers
Restricted Project
Commits
rABC958de2b2d9e2: [Cashtab] Validate multisend amounts for decimal places
Summary

Cashtab does not currently validate send amounts for 2 decimal places in the multisend screen. Add this validation (will need it to ensure correct outputs are calculated with ecash-coinselect)

Update validation error msg to remove hardcoded value. Update unit tests to reflect function expectation of string.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
cashtab-decimal-multisend-fix
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25837
Build 51254: Build Diffcashtab-tests
Build 51253: arc lint + arc unit