HomePhabricator

[herald] New formatPrice function to prep prices for tg msgs

Description

[herald] New formatPrice function to prep prices for tg msgs

Summary:
T2972

Depends on D13641

Add new function to format price with correct fiat currency symbol, if available

Test Plan:
npm test
npm run getCoingeckoPrices and note prices appear with currency symbol

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
bytesofmanAuthored on Apr 8 2023, 17:26
bytesofmanPushed on Apr 12 2023, 14:26
Reviewer
Restricted Project
Differential Revision
D13642: [herald] New formatPrice function to prep prices for tg msgs
Parents
rABC96b3345039f7: [herald] Improve getCoingeckoPrices to return tickers and ecash price first
Branches
Unknown
Tags
Unknown