From bc0ed87bb3ae4117c991fa6b7e387b33a0331aed Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Mon, 4 Jun 2012 01:19:57 -0700 Subject: [PATCH] Add helper createHumanAccountID() to NewcoinAddress. --- src/NewcoinAddress.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/NewcoinAddress.h b/src/NewcoinAddress.h index e0675b37b3..daf30cdb9c 100644 --- a/src/NewcoinAddress.h +++ b/src/NewcoinAddress.h @@ -67,6 +67,10 @@ public: static NewcoinAddress createAccountID(const uint160& uiAccountID); + static std::string createHumanAccountID(const std::vector& vPrivate) { + return createAccountPrivate(vPrivate).humanAccountID(); + } + // // Accounts Public //