mirror of
https://github.com/stronk-dev/RewardCaller.git
synced 2025-07-05 22:05:09 +02:00
Update RewardCall.py
CLI_ADDR/currentRound returns a string now
This commit is contained in:
parent
935d0fcefa
commit
87c6bd4cd9
@ -36,7 +36,7 @@ def getCurrentRound(url):
|
|||||||
return 0
|
return 0
|
||||||
if r.status_code != 200:
|
if r.status_code != 200:
|
||||||
return 0
|
return 0
|
||||||
return int(r.content.hex(), 16)
|
return int(r.json())
|
||||||
|
|
||||||
class Orchestrator:
|
class Orchestrator:
|
||||||
def __init__(self, uri):
|
def __init__(self, uri):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user