Page MenuHomePhabricator

[Cashtab] eTokenHolders initial state updated in airdrop.js
AbandonedPublic

Authored by kieran709 on Mar 31 2022, 18:27.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Summary

Related to task T2372. In Airdrop.js, etokenHolders initial state has been changed from useState(new BigNumber(0)) to useState(0).

Test Plan

cd web/cashtab && npm start
in IDE navigate to web/cashtab/components/Airdrop/Airdrop.js
at line 112, observe that the initial state has been changed to 0

in browser: calculate an airdrop, observe that there are no errors

Diff Detail

Repository
rABC Bitcoin ABC
Branch
airdrop-state-var-patch
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18704
Build 37199: Build Diffcashtab-tests
Build 37198: arc lint + arc unit

Event Timeline

This looks good, but I found more to this problem than orginally suspected and created and assigned a new task to Ethan to resolve. So -- please abandon this one and mark the task as complete. Thanks.

This revision now requires changes to proceed.Mar 31 2022, 19:14