Bugfix in 'unlock'.

This commit is contained in:
JoelKatz
2012-01-18 09:40:38 -08:00
parent f1052e0706
commit 7fa8f43c59

View File

@@ -253,7 +253,7 @@ Json::Value RPCServer::doUnlock(Json::Value &params)
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");