Fix config key

This commit is contained in:
Craig Everett 2025-05-27 22:08:12 +09:00
parent f0326f4b99
commit 7f2b3c6a45

View File

@ -226,10 +226,10 @@ do_start_stop(#s{acc = PubKey, keys = Keys, network = Network, max_cores = MaxCo
Instance = #{<<"executable">> => Miner}, Instance = #{<<"executable">> => Miner},
Workers = lists:duplicate(Count, Instance), Workers = lists:duplicate(Count, Instance),
Profile = Profile =
[{pubkey, PubKey}, [{pubkey, PubKey},
{workers, Workers}, {workers, Workers},
{pool_admin_url, Eureka}, {pool_admin_url, Eureka},
{additional_keys, Keys}], {extra_pubkeys, Keys}],
ok = gmc_gui:message({notice, "Starting..."}), ok = gmc_gui:message({notice, "Starting..."}),
ok = gmc_gui:message({notice, ["Miner: ", Miner]}), ok = gmc_gui:message({notice, ["Miner: ", Miner]}),
{ok, Apps} = gmhc_app:start(Profile), {ok, Apps} = gmhc_app:start(Profile),