Page MenuHomePhabricator

[Cashtab] Better function to convert user-entered fiat prices to satoshis
ClosedPublic

Authored by bytesofman on Mar 11 2024, 12:38.

Details

Summary

Add and test (but do not implement) a function to convert user-entered fiat amounts to satoshis of XEC

Ref D15662 to see where this is going. Some refactor work is required to consolidate Cashtab's send xec amount validation functions.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
consolidate-validation
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27787
Build 55133: Build Diffcashtab-tests
Build 55132: arc lint + arc unit