Skip to content

Commit

Permalink
More fixes for wallet on Gigahorse.
Browse files Browse the repository at this point in the history
  • Loading branch information
guydavis committed Aug 10, 2023
1 parent 6e75207 commit a1eecb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/schedules/status_plotnfts.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def update():
with app.app_context():
try:
for blockchain in globals.enabled_blockchains():
if not blockchain in ['chia', 'chives']:
if not blockchain in ['chia', 'chives', 'gigahorse']:
continue
hostname = utils.get_hostname()
plotnfts = pools_cli.load_plotnft_show(blockchain)
Expand Down
5 changes: 4 additions & 1 deletion common/config/globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,10 @@ def wallet_running():
blockchain = enabled_blockchains()[0]
if blockchain == 'mmx':
return True # Always running for MMX
chia_binary_short = get_blockchain_binary(blockchain).split('/')[-1]
if blockchain == 'gigahorse':
chia_binary_short = 'chia' # wallet process is 'chia_wallet'
else:
chia_binary_short = get_blockchain_binary(blockchain).split('/')[-1]
try:
cmd = "pidof {0}_wallet".format(chia_binary_short)
proc = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True)
Expand Down

0 comments on commit a1eecb0

Please sign in to comment.