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

This commit is contained in:
Ryo Onodera
2020-09-15 15:49:26 +09:00
committed by GitHub
parent 241e6f1ecf
commit 629572831b

View File

@ -2771,7 +2771,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(),
};