Update LightningSettings.tsx

This commit is contained in:
Marcos Rodriguez Vélez 2025-01-01 21:07:51 -04:00 committed by GitHub
parent c5c2ce8a61
commit e93259e39e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,8 +112,6 @@ const save = useCallback(async () => {
await DefaultPreference.setName(GROUP_IO_BLUEWALLET);
if (URI) {
const normalizedURI = new URL(URI.replace(/([^:]\/)\/+/g, '$1')).toString();
// Validate the normalized URI
await LightningCustodianWallet.isValidNodeAddress(normalizedURI);
await setLNDHub(normalizedURI);