Restore bank feature used to deprecate Rewards sysvar (#13786) (#13788)

(cherry picked from commit c930f92411)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
This commit is contained in:
mergify[bot]
2020-11-24 18:57:26 +00:00
committed by GitHub
parent f44dfc8d04
commit fdcf589f7c
2 changed files with 6 additions and 1 deletions

View File

@@ -1398,7 +1398,7 @@ impl Bank {
if !self
.feature_set
.is_active(&feature_set::pico_inflation::id())
.is_active(&feature_set::deprecate_rewards_sysvar::id())
{
// this sysvar can be retired once `pico_inflation` is enabled on all clusters
self.update_sysvar_account(&sysvar::rewards::id(), |account| {