HomePhabricator

[Cashtab] Use correct type for comparison to dustSats

Description

[Cashtab] Use correct type for comparison to dustSats

Summary:
currency.dustSats is a number, 550

remainder is a BigNumber

Both should be a BigNumber to use the gte comparison

Test Plan: npm start, send etoken txs, confirm you get a change output unless change would be dust

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

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

Details

Provenance
bytesofmanAuthored on Sep 7 2022, 05:09
bytesofmanPushed on Sep 7 2022, 05:38
Reviewer
Restricted Project
Differential Revision
D11930: [Cashtab] Use correct type for comparison to dustSats
Parents
rABC0cf930eff78e: [Cashtab] [p4] send token fee issue
Branches
Unknown
Tags
Unknown