aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/chain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/chain.cpp')
-rw-r--r--src/kernel/chain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/chain.cpp b/src/kernel/chain.cpp
index 82e77125d7..1c877866d0 100644
--- a/src/kernel/chain.cpp
+++ b/src/kernel/chain.cpp
@@ -16,6 +16,7 @@ interfaces::BlockInfo MakeBlockInfo(const CBlockIndex* index, const CBlock* data
if (index) {
info.prev_hash = index->pprev ? index->pprev->phashBlock : nullptr;
info.height = index->nHeight;
+ info.chain_time_max = index->GetBlockTimeMax();
LOCK(::cs_main);
info.file_number = index->nFile;
info.data_pos = index->nDataPos;