Page MenuHomePhabricator

[Cashtab] Use correct type for comparison to dustSats
ClosedPublic

Authored by bytesofman on Sep 7 2022, 05:11.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC9ee42a28aa44: [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

Diff Detail

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