Moves fork-choice objects away from SSZ

This commit is contained in:
Carl Beekhuizen
2019-06-17 10:48:33 -04:00
parent 20d8156f46
commit 2ea6cede3e
5 changed files with 27 additions and 23 deletions

View File

@@ -29,6 +29,7 @@ def get_spec(file_name: str) -> SpecObject:
inserts = {}
function_matcher = re.compile(FUNCTION_REGEX)
inserts_matcher = re.compile(BEGIN_INSERT_REGEX)
is_ssz = False
for linenum, line in enumerate(open(file_name).readlines()):
line = line.rstrip()
if pulling_from is None and len(line) > 0 and line[0] == '#' and line[-1] == '`':