Page MenuHomePhabricator

[Cashtab] No more utils folder
ClosedPublic

Authored by bytesofman on Sat, Dec 28, 23:54.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABCe254327b5b79: [Cashtab] No more utils folder
Summary

cashMethods was a catch-all file for misc functions used for ... all kinds of thing over the history of Cashtab.

It quickly became too generic. Then many of the functions were solving problems that we shouldn't have been solving at this level of the stack.

Now, these problems are finally all handled in libraries or the appropriate part of the app. So, get rid of cashMethods.js which is no longer used. Rename utils to formatting since now all we handle here is formatting. Update imports.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

first diff was to handle BCHA decimals going from 8 to 2: D9280

This revision is now accepted and ready to land.Sun, Dec 29, 07:42
This revision was automatically updated to reflect the committed changes.