From e3299d704cacad0e329afc79e5465827325f45dd Mon Sep 17 00:00:00 2001 From: Milan Steiner Date: Tue, 8 Feb 2022 10:59:44 +0100 Subject: [PATCH] extend bech32AddressMatcher in testutils --- packages/cosmwasm-stargate/src/testutils.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cosmwasm-stargate/src/testutils.spec.ts b/packages/cosmwasm-stargate/src/testutils.spec.ts index 099082ca93..1a387d928a 100644 --- a/packages/cosmwasm-stargate/src/testutils.spec.ts +++ b/packages/cosmwasm-stargate/src/testutils.spec.ts @@ -72,7 +72,7 @@ export const tendermintIdMatcher = /^[0-9A-F]{64}$/; export const base64Matcher = /^(?:[a-zA-Z0-9+/]{4})*(?:|(?:[a-zA-Z0-9+/]{3}=)|(?:[a-zA-Z0-9+/]{2}==)|(?:[a-zA-Z0-9+/]{1}===))$/; // https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki#bech32 -export const bech32AddressMatcher = /^[\x21-\x7e]{1,83}1[02-9ac-hj-np-z]{58}$/; +export const bech32AddressMatcher = /^[\x21-\x7e]{1,83}1[02-9ac-hj-np-z]{38,58}$/; export const alice = { mnemonic: "enlist hip relief stomach skate base shallow young switch frequent cry park",