Wallets with aliases in contact list currently throw the list out and do not set to context. Patch this.
Migrate legacy tests to vectors to improve readability. Add new vector for alias case.
Differential D15347
[Cashtab] Improve isValidContactList function and tests bytesofman on Jan 31 2024, 19:10. Authored by
Details
Wallets with aliases in contact list currently throw the list out and do not set to context. Patch this. Migrate legacy tests to vectors to improve readability. Add new vector for alias case. npm test
Diff Detail
Event TimelineComment Actions
I'm not seeing the part where it's throwing out the list nor how it's patched to be set to context in this diff. Is there a part 2 to this stack? Comment Actions see inline comments there's a separate issue here in that the Configure page is getting contact list from local forage, and not wallet context -- so it renders everything just fine. this should be patched after we get this fix in (which allows useWallet.js to set the localforage contactList to wallet context). but a wallet with aliases in contact list will not show contacts rendered in tx history.
|