From 691a5a53f0bf2f03d2ee39b6f57b6b8ea8c5a986 Mon Sep 17 00:00:00 2001 From: Guy Davis Date: Mon, 21 Aug 2023 09:53:18 -0600 Subject: [PATCH] Handle Gigahorse as a pool config (Chia actually) --- api/schedules/status_pools.py | 2 +- web/models/pools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/schedules/status_pools.py b/api/schedules/status_pools.py index 31c8a23f0..588719168 100644 --- a/api/schedules/status_pools.py +++ b/api/schedules/status_pools.py @@ -25,7 +25,7 @@ def update(): blockchain_rpc = rpc.RPC() try: for blockchain in globals.enabled_blockchains(): - if not blockchain in ['chia', 'chives']: + if not blockchain in p.POOLABLE_BLOCKCHAINS: continue payload = [] hostname = utils.get_hostname() diff --git a/web/models/pools.py b/web/models/pools.py index 03b4b977a..5f9d77405 100644 --- a/web/models/pools.py +++ b/web/models/pools.py @@ -143,7 +143,7 @@ class PoolConfigs(): def __init__(self, blockchain, plotnfts, wallets): self.plotnfts = plotnfts - if blockchain == 'chia': + if blockchain in ['chia', 'gigahorse']: self.links = self.chia_links() elif blockchain == 'chives': self.links = self.chives_links()