Skip to content

Commit

Permalink
Address reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Jun 9, 2020
1 parent 7469013 commit e1f1cb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1853,7 +1853,7 @@ impl Bank {
#[cfg(not(test))]
let should_enable = match self.operating_mode() {
OperatingMode::Development => true,
OperatingMode::Preview => current_epoch >= 55,
OperatingMode::Preview => current_epoch >= Epoch::max_value(),
OperatingMode::Stable => current_epoch >= Epoch::max_value(),
};
// this needs to be gated because this potentially can change the behavior
Expand Down Expand Up @@ -1916,7 +1916,7 @@ impl Bank {
// | [5..6] | 25..26 | 25..26
// *: The range of parent_bank.slot() and current_bank.slot() is firstly
// split by the epoch boundaries and then the split ones are given to us.
// The oritinal ranges are denoted as [...]
// The original ranges are denoted as [...]
start_partition_index -= 1;
if auto_generated {
assert_eq!(start_slot_index, end_slot_index);
Expand Down

0 comments on commit e1f1cb3

Please sign in to comment.