From 241e6f1ecf7bd05efce9b1c3f69f93117d7f6e5e Mon Sep 17 00:00:00 2001 From: Ryo Onodera Date: Tue, 15 Sep 2020 15:48:48 +0900 Subject: [PATCH] Enable stricter check on rent-exempt accounts on testnet (#12224) --- runtime/src/rent_collector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/rent_collector.rs b/runtime/src/rent_collector.rs index 8d2ad6a6ce..7549104ff8 100644 --- a/runtime/src/rent_collector.rs +++ b/runtime/src/rent_collector.rs @@ -65,7 +65,7 @@ impl RentCollector { match self.cluster_type.unwrap() { ClusterType::Development => true, ClusterType::Devnet => true, - ClusterType::Testnet => self.epoch >= Epoch::max_value(), + ClusterType::Testnet => self.epoch >= 97, ClusterType::MainnetBeta => self.epoch >= Epoch::max_value(), } }