Page MenuHomePhabricator

[Cashtab] Better validation for multisend txs
ClosedPublic

Authored by bytesofman on Dec 7 2023, 23:40.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC19e69463baca: [Cashtab] Better validation for multisend txs
Summary

This validation is currently handled in the Send.js component without CI unit testing. Improve test to return error line number. Add unit tests.

Remove tech debt + need this function for improved tx construction later.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks good. New tests, all the old error cases are still handled,

This revision is now accepted and ready to land.Dec 8 2023, 08:43