mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Moved CBlock::ReadFromDisk out of CBlock to functions ReadBlockFromDisk in main.h
This commit is contained in:
@@ -163,7 +163,7 @@ Value getblock(const Array& params, bool fHelp)
|
||||
|
||||
CBlock block;
|
||||
CBlockIndex* pblockindex = mapBlockIndex[hash];
|
||||
block.ReadFromDisk(pblockindex);
|
||||
ReadBlockFromDisk(block, pblockindex);
|
||||
|
||||
if (!fVerbose)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user