fix: Allow consecutive dashes in account name validation
Summary
Remove incorrect validation rule that rejected consecutive dashes in Hive account names.
Consecutive dashes ARE valid in Hive account names - for example, account a--a exists on the Hive blockchain.
Problem
The validateHiveAccountName function in smart-signer incorrectly rejected account names with consecutive dashes (e.g., a--a). This caused valid Hive accounts to be rejected in:
- Login forms
- Transfer dialogs
- Other smart-signer validation contexts
Changes
-
packages/smart-signer/lib/validators/validate-hive-account-name.ts- Remove/--/check, add clarifying comment
Test plan
-
Verify account a--apasses validation in login form -
Verify account a--acan be used as transfer recipient -
Verify other validation rules still work (length, starting letter, etc.)