Make sure new wallet variables are initialized

This commit is contained in:
Pieter Wuille 2013-07-29 02:34:01 +02:00
parent 4bb77b4963
commit c4316fefa5

View file

@ -104,6 +104,8 @@ public:
nMasterKeyMaxID = 0;
pwalletdbEncryption = NULL;
nOrderPosNext = 0;
nNextResend = 0;
nLastResend = 0;
}
CWallet(std::string strWalletFileIn)
{
@ -114,6 +116,8 @@ public:
nMasterKeyMaxID = 0;
pwalletdbEncryption = NULL;
nOrderPosNext = 0;
nNextResend = 0;
nLastResend = 0;
}
std::map<uint256, CWalletTx> mapWallet;