HomePhabricator

[Cashtab] Prevent .map error in TxHistory

Description

[Cashtab] Prevent .map error in TxHistory

Summary:
T2837

If parsedTxHistory is not an array, pass an empty array to the TxHistory component

Test Plan:
npm start
Try to recreate the error described in D12759 and the task description.
Hopefully, fail

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: emack

Differential Revision: https://reviews.bitcoinabc.org/D12770

Details

Provenance
bytesofmanAuthored on Dec 6 2022, 00:28
bytesofmanPushed on Dec 6 2022, 13:22
Reviewer
Restricted Project
Differential Revision
D12770: [Cashtab] Prevent .map error in TxHistory
Parents
rABCe93f86221e4a: MOVEONLY: CWallet transaction code out of wallet.cpp/.h
Branches
Unknown
Tags
Unknown