Improve RPC handling.

This commit is contained in:
Arthur Britto
2012-06-10 14:51:48 -07:00
parent 014684be07
commit 0cd2a732f0
2 changed files with 8 additions and 3 deletions

View File

@@ -659,7 +659,8 @@ bool NewcoinAddress::setFamilySeedGeneric(const std::string& strText)
NewcoinAddress naTemp;
bool bResult = true;
if (naTemp.setAccountID(strText)
if (strText.empty()
|| naTemp.setAccountID(strText)
|| naTemp.setAccountPublic(strText)
|| naTemp.setAccountPrivate(strText))
{