From 87c6bd4cd99d2bffe9852e838c08cd880f3343b4 Mon Sep 17 00:00:00 2001 From: vires-in-numeris Date: Thu, 12 Oct 2023 22:42:16 +0200 Subject: [PATCH] Update RewardCall.py CLI_ADDR/currentRound returns a string now --- RewardCall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RewardCall.py b/RewardCall.py index 8352e12..a37ddaf 100755 --- a/RewardCall.py +++ b/RewardCall.py @@ -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):