Update RewardCall.py

CLI_ADDR/currentRound returns a string now
This commit is contained in:
vires-in-numeris 2023-10-12 22:42:16 +02:00 committed by Marco van Dijk
parent bc2097709d
commit c13fa3e33c

View File

@ -36,7 +36,7 @@ def getCurrentRound(url):
return 0
if r.status_code != 200:
return 0
return int(r.content.hex(), 16)
return int(r.json())
class Orchestrator:
def __init__(self, uri):