do not create 'Your Address' account

This commit is contained in:
tcatm 2011-01-31 16:42:28 +01:00
parent b1a657a00d
commit b1ca5eb58a

2
db.cpp
View file

@ -843,7 +843,7 @@ bool LoadWallet(bool& fFirstRunRet)
keyUser.MakeNewKey();
if (!AddKey(keyUser))
return false;
if (!SetAddressBookName(PubKeyToAddress(keyUser.GetPubKey()), "Your Address"))
if (!SetAddressBookName(PubKeyToAddress(keyUser.GetPubKey()), ""))
return false;
CWalletDB().WriteDefaultKey(keyUser.GetPubKey());
}