fix: improve bech32 regex (to support all prefixes)

This commit is contained in:
ccamel
2023-06-09 09:39:05 +02:00
parent 45a2912c7f
commit 9c643dc409
+1 -1
View File
@@ -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;