Browse Source

Make sure new wallet variables are initialized

0.10
Pieter Wuille 11 years ago
parent
commit
c4316fefa5
  1. 4
      src/wallet.h

4
src/wallet.h

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

Loading…
Cancel
Save