Enable retirement of rent collect in Bank::deposit() on testnet (#12223) (#12227)

(cherry picked from commit 629572831b)

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

View File

@ -2675,7 +2675,7 @@ impl Bank {
let should_be_in_new_behavior = match self.cluster_type() {
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(),
};