Reverts changes to `activation_height()` method

This commit is contained in:
Arya 2024-04-23 19:47:31 -04:00
parent 0f91dd03df
commit 479b0b272e
1 changed files with 0 additions and 3 deletions

View File

@ -340,9 +340,6 @@ impl NetworkUpgrade {
self.next_upgrade()
.and_then(|next_nu| next_nu.activation_height(network))
})
// TODO: Remove `.expect()` calls on the return value of this function (except for Genesis), or
// update this method's return type
.or(Some(block::Height::MAX))
}
/// Returns `true` if `height` is the activation height of any network upgrade