Skip to content

Commit

Permalink
Missing conversion from str to float on rewards (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeandemeusy authored Jun 6, 2024
1 parent f9633b1 commit d862ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ct-app/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ async def get_peers_rewards(self):
results = dict()
try:
for account in await provider.get():
results[account["id"]] = account["redeemedValue"]
results[account["id"]] = float(account["redeemedValue"])

except ProviderError as err:
self.error(f"get_peers_rewards: {err}")
Expand Down

0 comments on commit d862ee4

Please sign in to comment.