diff --git a/qubipy/core/core_client.py b/qubipy/core/core_client.py index b979247..bec2d72 100644 --- a/qubipy/core/core_client.py +++ b/qubipy/core/core_client.py @@ -566,6 +566,7 @@ def get_monero_mining_stats(self) -> Dict[str, Any]: response = requests.get(f'{MONERO_URL}{MONERO_MINING_STATS}', headers=HEADERS, timeout=self.timeout) response.raise_for_status() # Raise an exception for bad HTTP status codes data = response.json() + data['monero_amount_rewards'] = data['pool_blocks_found'] * 0.6 return data except requests.RequestException as E: raise QubiPy_Exceptions(f"Error when getting the monero mining stats: {str(E)}") from None