mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Cleanup.
This commit is contained in:
@@ -253,7 +253,7 @@ Json::Value RPCServer::doNewAccount(Json::Value ¶ms)
|
|||||||
return JSONRPCError(500, "Family required");
|
return JSONRPCError(500, "Family required");
|
||||||
|
|
||||||
NewcoinAddress family = parseFamily(fParam);
|
NewcoinAddress family = parseFamily(fParam);
|
||||||
if(!family.isValid()) return JSONRPCError(500, "Family not found.");
|
if (!family.isValid()) return JSONRPCError(500, "Family not found.");
|
||||||
|
|
||||||
LocalAccount::pointer account(theApp->getWallet().getNewLocalAccount(family));
|
LocalAccount::pointer account(theApp->getWallet().getNewLocalAccount(family));
|
||||||
if(!account)
|
if(!account)
|
||||||
|
|||||||
Reference in New Issue
Block a user