mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add createAccountID() to NewcoinAddress.
This commit is contained in:
@@ -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
|
||||
//
|
||||
|
||||
@@ -65,6 +65,8 @@ public:
|
||||
bool setAccountID(const std::string& strAccountID);
|
||||
void setAccountID(const uint160& hash160In);
|
||||
|
||||
static NewcoinAddress createAccountID(const uint160& uiAccountID);
|
||||
|
||||
//
|
||||
// Accounts Public
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user