mirror of
https://github.com/stronk-dev/RewardCaller.git
synced 2025-07-05 13:55:10 +02:00
Update RewardCall.py
CLI_ADDR/currentRound returns a string now
This commit is contained in:
parent
bc2097709d
commit
c13fa3e33c
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user