Correct type error in gmc_conf:is_key/1

This commit is contained in:
Ulf Wiger 2025-11-20 20:35:32 +01:00
parent 68cc86723d
commit b1e649961c
3 changed files with 5 additions and 4 deletions

View File

@ -3,6 +3,6 @@
{registered,[]}, {registered,[]},
{included_applications,[]}, {included_applications,[]},
{applications,[stdlib,kernel]}, {applications,[stdlib,kernel]},
{vsn,"0.4.0"}, {vsn,"0.4.1"},
{modules,[gajumine,gmc_con,gmc_conf,gmc_gui,gmc_sup]}, {modules,[gajumine,gmc_con,gmc_conf,gmc_gui,gmc_sup]},
{mod,{gajumine,[]}}]}. {mod,{gajumine,[]}}]}.

View File

@ -234,7 +234,8 @@ binify_keys(AccID, MOAR) ->
is_key(Mystery) -> is_key(Mystery) ->
try try
{account_pubkey, _} = gmser_api_encoder:decode(Mystery), MysteryBin = list_to_binary(Mystery),
{account_pubkey, _} = gmser_api_encoder:decode(MysteryBin),
true true
catch catch
_:_ -> false _:_ -> false

View File

@ -1,10 +1,10 @@
{name,"GajuMine"}. {name,"GajuMine"}.
{type,gui}. {type,gui}.
{modules,[]}. {modules,[]}.
{author,"Craig Everett"}.
{prefix,"gmc"}. {prefix,"gmc"}.
{author,"Craig Everett"}.
{desc,"Mining client for the Gajumaru Root"}. {desc,"Mining client for the Gajumaru Root"}.
{package_id,{"qpq","gajumine",{0,4,0}}}. {package_id,{"qpq","gajumine",{0,4,1}}}.
{deps,[{"uwiger","gmhive_client",{0,10,0}}, {deps,[{"uwiger","gmhive_client",{0,10,0}},
{"otpr","zxwidgets",{1,1,0}}, {"otpr","zxwidgets",{1,1,0}},
{"otpr","hakuzaru",{0,7,0}}, {"otpr","hakuzaru",{0,7,0}},