We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7551ae8 commit 6b83576Copy full SHA for 6b83576
src/node/chainstate.cpp
@@ -141,7 +141,7 @@ std::optional<ChainstateLoadVerifyError> VerifyLoadedChainstate(ChainstateManage
141
for (CChainState* chainstate : chainman.GetAll()) {
142
if (!is_coinsview_empty(chainstate)) {
143
const CBlockIndex* tip = chainstate->m_chain.Tip();
144
- if (tip && tip->nTime > get_unix_time_seconds() + 2 * 60 * 60) {
+ if (tip && tip->nTime > get_unix_time_seconds() + MAX_FUTURE_BLOCK_TIME) {
145
return ChainstateLoadVerifyError::ERROR_BLOCK_FROM_FUTURE;
146
}
147
0 commit comments