mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Split off CBlockHeader from CBlock
Cleaner and removes the need for the application-specific flags in serialize.h.
This commit is contained in:
@@ -154,7 +154,7 @@ Value getblock(const Array& params, bool fHelp)
|
||||
|
||||
CBlock block;
|
||||
CBlockIndex* pblockindex = mapBlockIndex[hash];
|
||||
block.ReadFromDisk(pblockindex, true);
|
||||
block.ReadFromDisk(pblockindex);
|
||||
|
||||
return blockToJSON(block, pblockindex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user