mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Improve RPC handling.
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user