Merge pull request #2013 from sipa/blockheader
Split off CBlockHeader from CBlock
This commit is contained in:
@@ -756,7 +756,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