aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-11-14 22:18:10 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2012-11-16 00:12:33 +0100
commite754cf4133c9c97e320ae5dec394e338524e650b (patch)
treeb2cf9b6c6c9d7f462c0e9874626093955c928a46 /src/wallet.cpp
parent6caffb5358b1e403b293846b3c832433fa928e46 (diff)
Split off CBlockHeader from CBlock
Cleaner and removes the need for the application-specific flags in serialize.h.
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r--src/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
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))