aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2013-07-29 02:34:01 +0200
committerPieter Wuille <[email protected]>2013-07-29 02:34:01 +0200
commitc4316fefa5f56d62eeceb710ee18313bd9be1128 (patch)
treea2e8ccc1dec84b91b34e814e860ad9865bc3ef5b /src
parentMerge pull request #2541 from luke-jr/bugfix_wallet_resend (diff)
downloaddiscoin-c4316fefa5f56d62eeceb710ee18313bd9be1128.tar.xz
discoin-c4316fefa5f56d62eeceb710ee18313bd9be1128.zip
Make sure new wallet variables are initialized
Diffstat (limited to 'src')
-rw-r--r--src/wallet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet.h b/src/wallet.h
index 92f893c6b..3474045e3 100644
--- a/src/wallet.h
+++ b/src/wallet.h
@@ -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;