Split off CBlockHeader from CBlock
Cleaner and removes the need for the application-specific flags in serialize.h.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user