From 520a8039b46cb2bcd056856abb6084bfb63b8722 Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Sat, 14 Jul 2012 12:52:51 -0700 Subject: [PATCH] Remove "none" support from accountID. --- src/NewcoinAddress.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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)