mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 04:42:36 -03:00
Merge pull request #5022
c375b5c
remove dead/unused code in walletdb.cpp (Philip Kaufmann)
This commit is contained in:
commit
a419f82670
1 changed files with 0 additions and 8 deletions
|
@ -391,13 +391,6 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue,
|
||||||
wss.fAnyUnordered = true;
|
wss.fAnyUnordered = true;
|
||||||
|
|
||||||
pwallet->AddToWallet(wtx, 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")
|
else if (strType == "acentry")
|
||||||
{
|
{
|
||||||
|
@ -708,7 +701,6 @@ DBErrors CWalletDB::LoadWallet(CWallet* pwallet)
|
||||||
DBErrors CWalletDB::FindWalletTx(CWallet* pwallet, vector<uint256>& vTxHash, vector<CWalletTx>& vWtx)
|
DBErrors CWalletDB::FindWalletTx(CWallet* pwallet, vector<uint256>& vTxHash, vector<CWalletTx>& vWtx)
|
||||||
{
|
{
|
||||||
pwallet->vchDefaultKey = CPubKey();
|
pwallet->vchDefaultKey = CPubKey();
|
||||||
CWalletScanState wss;
|
|
||||||
bool fNoncriticalErrors = false;
|
bool fNoncriticalErrors = false;
|
||||||
DBErrors result = DB_LOAD_OK;
|
DBErrors result = DB_LOAD_OK;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue