Skip to content

Commit aef5381

Browse files
dungeon-master-666EmelyanenkoK
authored andcommitted
Fix get_prev_blocks_info() at LS getConfigParams
1 parent 050a984 commit aef5381

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

validator/impl/liteserver.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1905,6 +1905,9 @@ void LiteQuery::continue_getConfigParams(int mode, std::vector<int> param_list)
19051905
}
19061906
cfg = res.move_as_ok();
19071907
} else {
1908+
if (mode & block::ConfigInfo::needPrevBlocks) {
1909+
mode |= block::ConfigInfo::needCapabilities;
1910+
}
19081911
auto res = block::ConfigInfo::extract_config(mpb.root(), mode);
19091912
if (res.is_error()) {
19101913
fatal_error(res.move_as_error());

0 commit comments

Comments
 (0)