Skip to content

Commit badc4fd

Browse files
committed
Enable optimistic collation in proto version 6
1 parent 6cbae03 commit badc4fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validator-session/validator-session.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ ValidatorSessionImpl::ValidatorSessionImpl(catchain::CatChainSessionId session_i
10951095
, overlay_manager_(overlays)
10961096
, allow_unsafe_self_blocks_resync_(allow_unsafe_self_blocks_resync) {
10971097
compress_block_candidates_ = opts.proto_version >= 4;
1098-
allow_optimistic_generation_ = opts.proto_version >= 5;
1098+
allow_optimistic_generation_ = opts.proto_version >= 6;
10991099
description_ = ValidatorSessionDescription::create(std::move(opts), nodes, local_id);
11001100
src_round_candidate_.resize(description_->get_total_nodes());
11011101
}

0 commit comments

Comments
 (0)