From beac2d6d3fcc59a75b71fbb83ec8acd4fceebb15 Mon Sep 17 00:00:00 2001 From: Ryo Onodera Date: Mon, 8 Mar 2021 10:17:56 +0900 Subject: [PATCH] Remove stale comment --- runtime/src/bank.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index dc0da85853..53266378a3 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -3538,8 +3538,6 @@ impl Bank { let mut partitions = vec![]; if parent_epoch < current_epoch { - // this needs to be gated because this potentially can change the behavior - // (= bank hash) at each start of epochs let slot_skipped = (self.slot() - self.parent_slot()) > 1; if slot_skipped { // Generate special partitions because there are skipped slots @@ -3554,8 +3552,6 @@ impl Bank { parent_epoch, )); - // this needs to be gated because this potentially can change the behavior - // (= bank hash) at each start of epochs if current_slot_index > 0 { // ... for current epoch partitions.push(self.partition_from_slot_indexes_with_gapped_epochs(