diff --git a/src/NewcoinAddress.cpp b/src/NewcoinAddress.cpp index 70eca319c7..2cdaa0515b 100644 --- a/src/NewcoinAddress.cpp +++ b/src/NewcoinAddress.cpp @@ -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()); - - 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)