do not create 'Your Address' account
This commit is contained in:
parent
b1a657a00d
commit
b1ca5eb58a
2
db.cpp
2
db.cpp
@ -843,7 +843,7 @@ bool LoadWallet(bool& fFirstRunRet)
|
|||||||
keyUser.MakeNewKey();
|
keyUser.MakeNewKey();
|
||||||
if (!AddKey(keyUser))
|
if (!AddKey(keyUser))
|
||||||
return false;
|
return false;
|
||||||
if (!SetAddressBookName(PubKeyToAddress(keyUser.GetPubKey()), "Your Address"))
|
if (!SetAddressBookName(PubKeyToAddress(keyUser.GetPubKey()), ""))
|
||||||
return false;
|
return false;
|
||||||
CWalletDB().WriteDefaultKey(keyUser.GetPubKey());
|
CWalletDB().WriteDefaultKey(keyUser.GetPubKey());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user