aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2014-10-01 11:00:29 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2014-10-01 11:00:29 +0200
commitc375b5c102971abfefaaf07776b5b65f1cca54f1 (patch)
treefe1fb246f54c22738e50e2c116cf4c2912368a90
parentb25551101c7ceff8af862131c30c08527ff60160 (diff)
remove dead/unused code in walletdb.cpp
- closes #5021
-rw-r--r--src/walletdb.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/walletdb.cpp b/src/walletdb.cpp
index a84f44db01..b21cb4eabd 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;