mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Split off CBlockHeader from CBlock
Cleaner and removes the need for the application-specific flags in serialize.h.
This commit is contained in:
parent
6caffb5358
commit
e754cf4133
5 changed files with 55 additions and 46 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue