Fix segfault when creating new wallet
The initialization of the default key used keyUser instead of vchDefaultKey. keyUser is now complete removed.
This commit is contained in:
@@ -47,7 +47,6 @@ public:
|
||||
mutable CCriticalSection cs_mapAddressBook;
|
||||
|
||||
std::vector<unsigned char> vchDefaultKey;
|
||||
CKey keyUser;
|
||||
|
||||
bool AddKey(const CKey& key);
|
||||
bool AddToWallet(const CWalletTx& wtxIn);
|
||||
|
||||
Reference in New Issue
Block a user