Some proposal cleanups.

This commit is contained in:
JoelKatz
2012-09-03 01:19:58 -07:00
parent 3005d46b12
commit b950877758
5 changed files with 24 additions and 21 deletions

View File

@@ -95,6 +95,15 @@ NewcoinAddress NewcoinAddress::createNodePublic(const std::vector<unsigned char>
return naNew;
}
NewcoinAddress NewcoinAddress::createNodePublic(const std::string& strPublic)
{
NewcoinAddress naNew;
naNew.setNodePublic(strPublic);
return naNew;
}
uint160 NewcoinAddress::getNodeID() const
{
switch (nVersion) {