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:
Pieter Wuille
2011-06-26 02:37:52 +02:00
parent c774b16976
commit d3800d59d5
2 changed files with 3 additions and 10 deletions

View File

@@ -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);