Option to exclude the airdrop sender's address from the list of recipients.
Details
Details
- Reviewers
bytesofman - Group Reviewers
Restricted Project - Commits
- rABC0142e0e83a99: [Cashtab] Airdrop Option - ignore own address
npm start
ensure normal airdrop calculation is correct
tick the Ignore my own address option then ensure airdrop calculation excludes the active address, including the distribution ratio of XEC
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- airdropIgnoreOwnAddress
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 18611 Build 37013: Build Diff cashtab-tests Build 37012: arc lint + arc unit
Event Timeline
web/cashtab/src/components/Airdrop/Airdrop.js | ||
---|---|---|
143 ↗ | (On Diff #32984) | Is this step only required for the case where ignoreOwnAddress is true? If so, include this calc inside if (ignoreOwnAddress) |
384 ↗ | (On Diff #32984) | For a boolean setting, use a switch instead of a checkbox (I think better UX for mobile; this is what Cashtab does everywhere else). |
Comment Actions
- Moved Path1899 etoken address reference into ignoreOwnAddress block
- Switched from checkbox to switch toggle