aboutsummaryrefslogtreecommitdiff
path: root/src/rpcblockchain.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-11-14 22:18:10 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2012-11-16 00:12:33 +0100
commite754cf4133c9c97e320ae5dec394e338524e650b (patch)
treeb2cf9b6c6c9d7f462c0e9874626093955c928a46 /src/rpcblockchain.cpp
parent6caffb5358b1e403b293846b3c832433fa928e46 (diff)
Split off CBlockHeader from CBlock
Cleaner and removes the need for the application-specific flags in serialize.h.
Diffstat (limited to 'src/rpcblockchain.cpp')
-rw-r--r--src/rpcblockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp
index 3fde463cd3..5554f039a7 100644
--- a/src/rpcblockchain.cpp
+++ b/src/rpcblockchain.cpp
@@ -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);
}