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
Lint
Lint Not Applicable
Unit
Tests Not Applicable