fix: improve bech32 regex (to support all prefixes)

This commit is contained in:
ccamel 2023-06-08 14:54:40 +02:00
parent 45a2912c7f
commit 9c643dc409
No known key found for this signature in database
GPG Key ID: CF349A84B43D3D51

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;