From 4083fdb2367f06b02fb929921cb281453ba848d4 Mon Sep 17 00:00:00 2001 From: beer-1 <147697694+beer-1@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:23:37 +0900 Subject: [PATCH] fix validate --- .github/workflows/utility/validate_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/utility/validate_data.py b/.github/workflows/utility/validate_data.py index e20ad2d..76c2f45 100644 --- a/.github/workflows/utility/validate_data.py +++ b/.github/workflows/utility/validate_data.py @@ -53,14 +53,14 @@ def readSLIP173(): slipCoinTypesByNum = {} slipCoinTypesByName = {} slip44Websites = {} - +| 0 | def readSLIP44(): slip44URL = "https://raw.githubusercontent.com/satoshilabs/slips/master/slip-0044.md" lines = [] for line in urllib.request.urlopen(slip44URL): line = line.decode('utf-8') if(len(line) > 6): - if(line[0] != "-" and line[0] != "C" and (line[5] == "|" or line[6] == "|" or line[7] == "|" or line[8] == "|" or line[9] == "|" or line[10] == "|" or line[11] == "|")): + if(line[0] != "-" and line[0] != "C" and (line[5] == "|" or line[6] == "|" or line[7] == "|" or line[8] == "|" or line[9] == "|" or line[10] == "|" or line[11] == "|" or line[12] == "|" or line[13] == "|")): lines.append(line) if lines: for line in lines: