Enable retirement of rent collect in Bank::deposit() on testnet (#12223)
This commit is contained in:
parent
241e6f1ecf
commit
629572831b
|
@ -2771,7 +2771,7 @@ impl Bank {
|
||||||
let should_be_in_new_behavior = match self.cluster_type() {
|
let should_be_in_new_behavior = match self.cluster_type() {
|
||||||
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(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue