Simplify get_programs(), specify a real Preview activation epoch for new BPFLoader

This commit is contained in:
Michael Vines
2020-08-30 20:07:10 -07:00
committed by mergify[bot]
parent 6234909373
commit f385af25e5
2 changed files with 31 additions and 51 deletions

View File

@ -2648,7 +2648,7 @@ impl Bank {
assert!(callback_w.is_none(), "Already callback has been initiated");
*callback_w = Some(entered_epoch_callback);
}
// immedaitely fire the callback as initial invocation
// immediately fire the callback as initial invocation
self.reinvoke_entered_epoch_callback(true);
}