We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 044cc8a commit 317e52bCopy full SHA for 317e52b
packages/common/src/utils/index.ts
@@ -20,7 +20,7 @@ export function isValidBlsPubkey(pubkey: string): boolean {
20
}
21
22
export function isValidWithdrawableBlsAddress(address: string): boolean {
23
- return /^0x01[0]{22}[a-fA-F0-9]{40}$/.test(address);
+ return /^0x0[12]0{22}[a-fA-F0-9]{40}$/.test(address);
24
25
26
export function isValidNonWithdrawableBlsAddress(address: string): boolean {
0 commit comments