HomePhabricator

[Cashtab] Trim address strings in multisend input

Description

[Cashtab] Trim address strings in multisend input

Summary:
Currently, Cashtab will not tolerate any extra spaces around address strings in multisend input. Easy to support these with trim(), but need to also trim() where they are implemented

Note that the generateTxOutput is slated for deprecation when src/transactions version of sendXec function is implemented

Test Plan: npm test

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
bytesofmanAuthored on Dec 14 2023, 22:39
bytesofmanPushed on Dec 15 2023, 14:00
Reviewer
Restricted Project
Differential Revision
D14987: [Cashtab] Trim address strings in multisend input
Parents
rABCf3139ddbac7d: refactor: Replace std::optional<bilingual_str> with util::Result
Branches
Unknown
Tags
Unknown