From 89818383090410523cbf587769ab9d5f1fe02e8e Mon Sep 17 00:00:00 2001 From: luleigreat Date: Tue, 14 Aug 2018 13:52:51 +0800 Subject: [PATCH] support coin length to 10 --- src/common/schemas/objects/currency.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/schemas/objects/currency.json b/src/common/schemas/objects/currency.json index 9d45057f..f1162b5a 100644 --- a/src/common/schemas/objects/currency.json +++ b/src/common/schemas/objects/currency.json @@ -4,5 +4,5 @@ "description": "The three-character code or hexadecimal string used to denote currencies", "type": "string", "link": "currency", - "pattern": "^([a-zA-Z0-9<>(){}[\\]|?!@#$%^&*]{3}|[A-F0-9]{40})$" + "pattern": "^([a-zA-Z0-9<>(){}[\\]|?!@#$%^&*]{3,10}|[A-F0-9]{40})$" }