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
Branch
alias-validation-string
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26025
Build 51624: Build Diffcashtab-tests
Build 51623: arc lint + arc unit