Skip to content

Commit

Permalink
Update globals.py
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wooten committed Jul 18, 2023
1 parent 86e0e71 commit 2663282
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,7 @@ def requestRecords(url):
return requestURL(url)["_embedded"]["records"]

def getLinksAndRecordsFromParsedLedger(data):
try:
return data["_links"], data["_embedded"]["records"]
except KeyError: ## TEMP ##
pprint(data)
return 0
return data["_links"], data["_embedded"]["records"]

def SHA3(input):
return sha3_256(input.encode()).hexdigest()
Expand Down

0 comments on commit 2663282

Please sign in to comment.