Merge pull request #430 from okp4/fix/bech32-detection

Improve bech32 regex
This commit is contained in:
ping
2023-06-09 20:31:42 +08:00
committed by GitHub
+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;