From e754cf4133c9c97e320ae5dec394e338524e650b Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Wed, 14 Nov 2012 22:18:10 +0100 Subject: Split off CBlockHeader from CBlock Cleaner and removes the need for the application-specific flags in serialize.h. --- src/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet.cpp') diff --git a/src/wallet.cpp b/src/wallet.cpp index 0115e56b8e..fdb03431b1 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -752,7 +752,7 @@ int CWallet::ScanForWalletTransactions(CBlockIndex* pindexStart, bool fUpdate) while (pindex) { CBlock block; - block.ReadFromDisk(pindex, true); + block.ReadFromDisk(pindex); BOOST_FOREACH(CTransaction& tx, block.vtx) { if (AddToWalletIfInvolvingMe(tx.GetHash(), tx, &block, fUpdate)) -- cgit v1.2.3