aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2013-07-29 02:34:01 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2013-07-29 02:34:01 +0200
commitc4316fefa5f56d62eeceb710ee18313bd9be1128 (patch)
treea2e8ccc1dec84b91b34e814e860ad9865bc3ef5b /src/wallet.h
parent4bb77b49632b47465216adcd1009b6c4b3825386 (diff)
downloadbitcoin-c4316fefa5f56d62eeceb710ee18313bd9be1128.tar.xz
Make sure new wallet variables are initialized
Diffstat (limited to 'src/wallet.h')
-rw-r--r--src/wallet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet.h b/src/wallet.h
index 92f893c6b0..3474045e32 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;