T2663
Depends on D12659
Per feedback at beginning of this stack, make sure all wallet state variables are defined with their final stored name.
Differential D12660
[Cashtab] [Simplify wallet structure p6] Ensure last final variable calcs match final variable names bytesofman on Nov 28 2022, 05:10. Authored by Tags None Subscribers None
Details
T2663 Depends on D12659 Per feedback at beginning of this stack, make sure all wallet state variables are defined with their final stored name. npm test
Diff Detail
Event TimelineComment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: useBCH hook Throws error attempting to burn an eToken ID that is not within the wallet's utxo ====== Error: expect(received).toStrictEqual(expected) // deep equality Expected: [Error: No token UTXOs for the specified token could be found.] Received: [TypeError: Cannot destructure property 'tokenId' of 'undefined' as it is undefined.] at Object.<anonymous> (/work/web/cashtab/src/hooks/__tests__/useBCH.test.js:211:29) at processTicksAndRejections (node:internal/process/task_queues:94:5) Each failure log is accessible here: |