|
|
@ -183,7 +183,7 @@ instantdex_claim()\n\ |
|
|
|
jadd(retjson,"coins",LP_coinsjson(LP_showwif)); |
|
|
|
return(jprint(retjson,1)); |
|
|
|
} |
|
|
|
if ( strcmp(method,"passphrase") != 0 && ((userpass= jstr(argjson,"userpass")) == 0 || strcmp(userpass,G.USERPASS) != 0) ) |
|
|
|
if ( ((userpass= jstr(argjson,"userpass")) == 0 || strcmp(userpass,G.USERPASS) != 0) ) //strcmp(method,"passphrase") != 0 &&
|
|
|
|
return(clonestr("{\"error\":\"authentication error you need to make sure userpass is set\"}")); |
|
|
|
jdelete(argjson,"userpass"); |
|
|
|
if ( strcmp(method,"passphrase") == 0 ) |
|
|
|