aboutsummaryrefslogtreecommitdiff
path: root/src/walletdb.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-10-01 12:56:05 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-10-01 12:56:11 +0200
commita419f82670ea3b94e46d92ab2642d5fdf4d88674 (patch)
treecd8bf69737abc43d7ea56e23b44e03ef8d14d310 /src/walletdb.cpp
parentf60dc15c50e8fad52f8ee3e313041e2d224be667 (diff)
parentc375b5c102971abfefaaf07776b5b65f1cca54f1 (diff)
Merge pull request #5022
c375b5c remove dead/unused code in walletdb.cpp (Philip Kaufmann)
Diffstat (limited to 'src/walletdb.cpp')
-rw-r--r--src/walletdb.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/walletdb.cpp b/src/walletdb.cpp
index 67218bf2c8..3e5a664a5d 100644
--- a/src/walletdb.cpp
+++ b/src/walletdb.cpp
@@ -391,13 +391,6 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue,
wss.fAnyUnordered = true;
pwallet->AddToWallet(wtx, true);
- //// debug print
- //LogPrintf("LoadWallet %s\n", wtx.GetHash().ToString());
- //LogPrintf(" %12d %s %s %s\n",
- // wtx.vout[0].nValue,
- // DateTimeStrFormat("%Y-%m-%d %H:%M:%S", wtx.GetBlockTime()),
- // wtx.hashBlock.ToString(),
- // wtx.mapValue["message"]);
}
else if (strType == "acentry")
{
@@ -708,7 +701,6 @@ DBErrors CWalletDB::LoadWallet(CWallet* pwallet)
DBErrors CWalletDB::FindWalletTx(CWallet* pwallet, vector<uint256>& vTxHash, vector<CWalletTx>& vWtx)
{
pwallet->vchDefaultKey = CPubKey();
- CWalletScanState wss;
bool fNoncriticalErrors = false;
DBErrors result = DB_LOAD_OK;