From 94f1bf78fd38cc8ecc98d9a0a3ceb6bfa2015e70 Mon Sep 17 00:00:00 2001 From: TaprootFreak <142087526+TaprootFreak@users.noreply.github.com> Date: Wed, 4 Mar 2026 10:02:32 +0100 Subject: [PATCH] fix: update Spark address validation to new format (spark1...) (#982) --- src/components/home/wallet/connect-cli.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/home/wallet/connect-cli.tsx b/src/components/home/wallet/connect-cli.tsx index 4f32b342..939bfc34 100644 --- a/src/components/home/wallet/connect-cli.tsx +++ b/src/components/home/wallet/connect-cli.tsx @@ -107,7 +107,7 @@ function Content({ wallet, isConnecting, connect, error, form, onSwitch, rootRef [WalletType.CLI_AR]: /^[\w-]{43}$/, [WalletType.CLI_SOL]: /^[1-9A-HJ-NP-Za-km-z]{43,44}$/, [WalletType.CLI_TRX]: /^T[1-9A-HJ-NP-Za-km-z]{32,34}$/, - [WalletType.CLI_SPARK]: /^sp1[a-z0-9]{6,87}$/, + [WalletType.CLI_SPARK]: /^spark1[a-z0-9]{6,250}$/, }; function validateAddress(address: string): true | string {