Enable eager-rent-collect-across-gapped-epochs bugfix (#12219)
This commit is contained in:
@ -2432,7 +2432,7 @@ impl Bank {
|
|||||||
let should_enable = match self.cluster_type() {
|
let should_enable = match self.cluster_type() {
|
||||||
ClusterType::Development => true,
|
ClusterType::Development => true,
|
||||||
ClusterType::Devnet => true,
|
ClusterType::Devnet => true,
|
||||||
ClusterType::Testnet => current_epoch >= Epoch::max_value(),
|
ClusterType::Testnet => current_epoch >= 97,
|
||||||
ClusterType::MainnetBeta => {
|
ClusterType::MainnetBeta => {
|
||||||
#[cfg(not(test))]
|
#[cfg(not(test))]
|
||||||
let should_enable = current_epoch >= Epoch::max_value();
|
let should_enable = current_epoch >= Epoch::max_value();
|
||||||
|
Reference in New Issue
Block a user