From c375b5c102971abfefaaf07776b5b65f1cca54f1 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Wed, 1 Oct 2014 11:00:29 +0200 Subject: [PATCH] remove dead/unused code in walletdb.cpp - closes #5021 --- src/walletdb.cpp | 8 -------- 1 file changed, 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& vTxHash, vector& vWtx) { pwallet->vchDefaultKey = CPubKey(); - CWalletScanState wss; bool fNoncriticalErrors = false; DBErrors result = DB_LOAD_OK;