mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 18:45: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))
|
||||
family=theApp->getWallet().addFamily(Wallet::textToPrivKey(param), false);
|
||||
else
|
||||
family=theApp->getWallet().addFamily(param);
|
||||
family=theApp->getWallet().addFamily(param, false);
|
||||
|
||||
if(!family)
|
||||
return JSONRPCError(500, "Bad family");
|
||||
|
||||
Reference in New Issue
Block a user