Page MenuHomePhabricator

[Cashtab] Extend alias validation to include any input
ClosedPublic

Authored by bytesofman on Dec 21 2023, 00:06.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCf4de892f684e: [Cashtab] Extend alias validation to include any input
Summary

Function was created to validate user input, which we can safely assume is always a string. However, we will also want to use this function to validate aliases for creating alias registration txs. In this case, the dev "should" always pass a string. But we can't really be sure without asserting it.

Test Plan

npm test

Diff Detail

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