Patch a bug in how agora txs are parsed so that (edge-case) wallets with multiple paths do not double or tripple-count agora amounts.
Details
Details
- Reviewers
emack - Group Reviewers
Restricted Project - Commits
- rABCd705d989c04c: [Cashtab] More improvements to agora partial sale tx parsing
npm test
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- another-agora-sale-tx-patch
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 31119 Build 61739: Build Diff cashtab-tests Build 61738: arc lint + arc unit
Event Timeline
cashtab/src/components/Home/Tx/index.js | ||
---|---|---|
822 ↗ | (On Diff #50833) | this is "the change" in this diff for sold amount, we just want to count the qty that goes to the non-p2sh output we do not want to count this quantity for every path the wallet might have. all cashtab wallets are created with only one path now .... but legacy users like me will have path145, path245 -- causing sold qty to be double or tripple counted without this fix. |