HomePhabricator

[Cashtab] Patch displayed spot prices for agora offers

Description

[Cashtab] Patch displayed spot prices for agora offers

Summary:
We need to display the spot price in XEC per decimalized token, not XEC per token satoshi.

Right now the displayed prices are only right for 0-decimal tokens.

Test Plan: npm test

Reviewers: #bitcoin_abc, tobias_ruck

Reviewed By: #bitcoin_abc, tobias_ruck

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

Details

Provenance
bytesofmanAuthored on Thu, Oct 24, 20:24
bytesofmanPushed on Thu, Oct 24, 23:45
Reviewer
Restricted Project
Differential Revision
D16991: [Cashtab] Patch displayed spot prices for agora offers
Parents
rABCf9a22eecb934: [ecash-agora] Improve approximation for USD-esque tokens
Branches
Unknown
Tags
Unknown