improve litecoin validation + tests

This commit is contained in:
Michael Pöhn 2019-05-10 12:02:13 +02:00
parent 92f50e5e50
commit 66105de833
2 changed files with 33 additions and 4 deletions

View file

@ -457,7 +457,7 @@ valuetypes = {
["Bitcoin"]),
FieldValidator("Litecoin address",
r'^L[a-zA-Z0-9]{33}$',
r'^[LM3][a-km-zA-HJ-NP-Z1-9]{26,33}$',
["Litecoin"]),
FieldValidator("Repo Type",