HomePhabricator

[Cashtab] Validate multisend amounts for decimal places

Description

[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

Reviewers: #bitcoin_abc, emack, PiRK

Reviewed By: #bitcoin_abc, emack, PiRK

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

Details

Provenance
bytesofmanAuthored on Dec 5 2023, 23:59
bytesofmanPushed on Dec 6 2023, 13:30
Reviewer
Restricted Project
Differential Revision
D14917: [Cashtab] Validate multisend amounts for decimal places
Parents
rABCeba145f39087: [standards] Collect eCash-specific variations to BIP21 in a spec
Branches
Unknown
Tags
Unknown