mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
Bugfix in 'unlock'.
This commit is contained in:
@@ -253,7 +253,7 @@ Json::Value RPCServer::doUnlock(Json::Value ¶ms)
|
|||||||
if(Wallet::isHexPrivateKey(param))
|
if(Wallet::isHexPrivateKey(param))
|
||||||
family=theApp->getWallet().addFamily(Wallet::textToPrivKey(param), false);
|
family=theApp->getWallet().addFamily(Wallet::textToPrivKey(param), false);
|
||||||
else
|
else
|
||||||
family=theApp->getWallet().addFamily(param);
|
family=theApp->getWallet().addFamily(param, false);
|
||||||
|
|
||||||
if(!family)
|
if(!family)
|
||||||
return JSONRPCError(500, "Bad family");
|
return JSONRPCError(500, "Bad family");
|
||||||
|
|||||||
Reference in New Issue
Block a user