mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-29 11:18:37 +02:00
do not create 'Your Address' account
This commit is contained in:
2
db.cpp
2
db.cpp
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user