From 18dd78c0953d3430257a66a51f6d6db60aa0106a Mon Sep 17 00:00:00 2001 From: "Ygsk Lv.212" <3891200-ygsk-tor@users.noreply.gitlab.com> Date: Mon, 17 Nov 2025 09:46:24 +0000 Subject: [PATCH] Update BTC & LTC regex for Taproot and stricter --- schemas/metadata.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/metadata.json b/schemas/metadata.json index 687b0366d3..093cf8467a 100644 --- a/schemas/metadata.json +++ b/schemas/metadata.json @@ -310,12 +310,12 @@ "Bitcoin": { "description": "A Bitcoin address for donating to the project.", "type": "string", - "pattern": "^(bc1|[13])[a-zA-HJ-NP-Z0-9]{25,39}$" + "pattern": "^([13][a-km-zA-HJ-NP-Z1-9]{25,34}|bc1[02-9ac-hj-np-z]{39,59})$" }, "Litecoin": { "description": "A Litecoin address for donating to the project.", "type": "string", - "pattern": "^([LM3][a-km-zA-HJ-NP-Z1-9]{26,33}|ltc1[ac-hj-np-z0-9]{39})$" + "pattern": "^([LM3][a-km-zA-HJ-NP-Z1-9]{26,33}|ltc1[02-9ac-hj-np-z]{39,59})$" }, "Name": { "description": "The title of the application, with optional descriptive phrase.",