Enable stricter check on rent-exempt accounts on testnet (#12224) (#12226)

(cherry picked from commit 241e6f1ecf)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
This commit is contained in:
mergify[bot]
2020-09-15 08:07:23 +00:00
committed by GitHub
parent c1a9c826f3
commit 65a1884c7b

View File

@ -65,7 +65,7 @@ impl RentCollector {
match self.cluster_type.unwrap() { match self.cluster_type.unwrap() {
ClusterType::Development => true, ClusterType::Development => true,
ClusterType::Devnet => true, ClusterType::Devnet => true,
ClusterType::Testnet => self.epoch >= Epoch::max_value(), ClusterType::Testnet => self.epoch >= 97,
ClusterType::MainnetBeta => self.epoch >= Epoch::max_value(), ClusterType::MainnetBeta => self.epoch >= Epoch::max_value(),
} }
} }