From 9c643dc40952cfef14ff776df2e89022523a9ddc Mon Sep 17 00:00:00 2001 From: ccamel Date: Thu, 8 Jun 2023 14:54:40 +0200 Subject: [PATCH] fix: improve bech32 regex (to support all prefixes) --- src/layouts/components/NavbarSearch.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/components/NavbarSearch.vue b/src/layouts/components/NavbarSearch.vue index 9cc1b6f6..d4202878 100644 --- a/src/layouts/components/NavbarSearch.vue +++ b/src/layouts/components/NavbarSearch.vue @@ -31,7 +31,7 @@ function confirm() { } const height = /^\d+$/; const txhash = /^[A-Z\d]{64}$/; - const addr = /^[a-z]+1[a-z\d]{38,58}$/; + const addr = /^[a-z\d]+1[a-z\d]{38,58}$/; const current = blockStore?.current?.chainName || ''; const routeParams = vueRouters?.currentRoute?.value;