Skip to content

Commit

Permalink
Merge pull request #181 from chriseth/novanity
Browse files Browse the repository at this point in the history
Do not generate vanity addresses by default
  • Loading branch information
chriseth authored Jun 13, 2016
2 parents 863ebde + b2dce97 commit f08d060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libweb3jsonrpc/Personal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Personal::Personal(KeyManager& _keyManager, AccountHolder& _accountHolder):

std::string Personal::personal_newAccount(std::string const& _password)
{
KeyPair p = KeyManager::newKeyPair(KeyManager::NewKeyType::DirectICAP);
KeyPair p = KeyManager::newKeyPair(KeyManager::NewKeyType::NoVanity);
m_keyManager.import(p.secret(), std::string(), _password, std::string());
return toJS(p.address());
}
Expand Down

0 comments on commit f08d060

Please sign in to comment.