Add createAccountID() to NewcoinAddress.

This commit is contained in:
Arthur Britto
2012-05-26 02:52:03 -07:00
parent 0b9c762f99
commit e03f452a05
2 changed files with 11 additions and 0 deletions

View File

@@ -322,6 +322,15 @@ bool NewcoinAddress::accountPublicVerify(const uint256& uHash, const std::vector
return bVerified;
}
NewcoinAddress NewcoinAddress::createAccountID(const uint160& uiAccountID)
{
NewcoinAddress na;
na.setAccountID(uiAccountID);
return na;
}
//
// AccountPrivate
//

View File

@@ -65,6 +65,8 @@ public:
bool setAccountID(const std::string& strAccountID);
void setAccountID(const uint160& hash160In);
static NewcoinAddress createAccountID(const uint160& uiAccountID);
//
// Accounts Public
//