HomePhabricator

[cashtab] Avoid loss of precision eslint error

Description

[cashtab] Avoid loss of precision eslint error

Summary: There are 3 occurrences of eslint no-loss-of-precision in the validation tests, one of them is deliberate and the others can be fixed.

Test Plan:

eslint src/utils/

Check there is no error

npm test

Check the validation tests pass

Reviewers: #bitcoin_abc, bytesofman

Reviewed By: #bitcoin_abc, bytesofman

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

Details

Provenance
FabienAuthored on Dec 20 2022, 10:50
FabienPushed on Dec 21 2022, 08:32
Reviewer
Restricted Project
Differential Revision
D12923: [cashtab] Avoid loss of precision eslint error
Parents
rABCeeeb0652bd17: [linter] Fix a linter issue
Branches
Unknown
Tags
Unknown