npubs should be validated #308
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If the counterparty string starts with
npub1
then we should validate the npubWe had a situation today where a user was unable to add a counterparty, and did not realise his npub was invalid. Nosta Me manages this ok:
https://nosta.me/npub1qnkhmdy37hltzfslu6m3vfylymhwyumgjmasnrc0qqq2kfnrqrxlsxr6ny8
ALSO - we had an issue with an npub not working because it had a leading space
both leading and trailing blanks should be automatically removed (but keep the ability to type them, eg "Tom Jones")