-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
optional prioritization_fee_cache #4144
base: master
Are you sure you want to change the base?
Conversation
@@ -1107,7 +1110,7 @@ impl Validator { | |||
connection_cache.clone(), | |||
max_complete_transaction_status_slot, | |||
max_complete_rewards_slot, | |||
prioritization_fee_cache.clone(), | |||
prioritization_fee_cache.clone().unwrap(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think ideally, we would not have to unwrap here.
prioritization_fee_cache
can/should be initialized in the same if statement...however it involves re-ordering a lot of stuff so that RPC is spawned earlier on.
Thinking it's simpler for this PR to just unwrap, and a follow-up PR for re-ordering initializaton in validator.rs
?
Problem
#4142
Summary of Changes
Fixes #