Enable eager-rent-collect-across-gapped-epochs bugfix (#12219)
This commit is contained in:
parent
c1e76fd5f7
commit
7d48339b7c
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue