Just some sanity checks for proptypes when it comes to transactions.
Since i'm new to the project, I had to map out all the data to really understand what was going on,
and I just decided to implement my findings into concrete code.
Details
Details
- Reviewers
darn-it-dan - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) Restricted Project
nothing much has changed,
since proptypes are only runtime validations:
so you can start up the wallet and make sure there is no proptype errors in the console.
make sure said wallet has a variety of transactions.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- tx-history-types
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 17946 Build 35714: Build Diff cashtab-tests Build 35713: arc lint + arc unit
Event Timeline
Comment Actions
Please remove the code comments (answered above). Don't need them in the codebase.
web/cashtab/src/components/Wallet/Tx.js | ||
---|---|---|
501 ↗ | (On Diff #31741) | Looks like this can also be a buffer. I've created a task to move some of the parsing logic around so that it's always a string here. |
508 ↗ | (On Diff #31741) | This is how they happen to be returned from the backend. |
Comment Actions
I would green this and add it -- waiting to hear from author on Telegram or here to confirm it can be landed appropriately. If not, will commandeer and add later.