mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 09:27:25 +00:00
stratum: update DGB addy check to include multi-alogs (#316)
This commit is contained in:
parent
ccf4596eca
commit
00e5dd024c
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ bool coind_validate_address(YAAMP_COIND *coind)
|
||||||
sprintf(params, "[\"%s\"]", coind->wallet);
|
sprintf(params, "[\"%s\"]", coind->wallet);
|
||||||
|
|
||||||
json_value *json;
|
json_value *json;
|
||||||
bool getaddressinfo = (strcmp(coind->symbol,"DGB") == 0);
|
bool getaddressinfo = ((strcmp(coind->symbol,"DGB") == 0) || (strcmp(coind->symbol2, "DGB") == 0));
|
||||||
if(getaddressinfo)
|
if(getaddressinfo)
|
||||||
json = rpc_call(&coind->rpc, "getaddressinfo", params);
|
json = rpc_call(&coind->rpc, "getaddressinfo", params);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue