mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove "none" support from accountID.
This commit is contained in:
@@ -302,16 +302,7 @@ std::string NewcoinAddress::humanAccountID() const
|
||||
|
||||
bool NewcoinAddress::setAccountID(const std::string& strAccountID)
|
||||
{
|
||||
if (strAccountID == "none")
|
||||
{
|
||||
SetData(VER_ACCOUNT_ID, std::vector<unsigned char>());
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return SetString(strAccountID.c_str(), VER_ACCOUNT_ID);
|
||||
}
|
||||
return SetString(strAccountID.c_str(), VER_ACCOUNT_ID);
|
||||
}
|
||||
|
||||
void NewcoinAddress::setAccountID(const uint160& hash160)
|
||||
|
||||
Reference in New Issue
Block a user