From e010af7089b18af838b74a4dc7908885c1600d13 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sat, 19 Oct 2013 17:30:11 +0200 Subject: Remove broken PrintWallet functionality --- src/wallet.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/wallet.cpp') diff --git a/src/wallet.cpp b/src/wallet.cpp index e37a83578..24813c54e 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -1485,19 +1485,6 @@ bool CWallet::DelAddressBook(const CTxDestination& address) return CWalletDB(strWalletFile).EraseName(CBitcoinAddress(address).ToString()); } -void CWallet::PrintWallet(const CBlock& block) -{ - { - LOCK(cs_wallet); - if (mapWallet.count(block.vtx[0].GetHash())) - { - CWalletTx& wtx = mapWallet[block.vtx[0].GetHash()]; - LogPrintf(" mine: %d %d %"PRI64d"", wtx.GetDepthInMainChain(), wtx.GetBlocksToMaturity(), wtx.GetCredit()); - } - } - LogPrintf("\n"); -} - bool CWallet::SetDefaultKey(const CPubKey &vchPubKey) { if (fFileBacked) -- cgit v1.2.3