Skip to content

Commit

Permalink
remove votes from priority fee estimates by default (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasPennie authored Jun 6, 2024
1 parent bed94fd commit 5a502b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ impl AtlasPriorityFeeEstimator {
// default to true for backwards compatibility. Recommended fee does not include vote txns
fn should_include_vote(options: &Option<GetPriorityFeeEstimateOptions>) -> bool {
if let Some(options) = options {
return options.include_vote.unwrap_or(true) || !options.recommended.unwrap_or(false);
return options.include_vote.unwrap_or(false);
}
true
}
Expand Down

0 comments on commit 5a502b8

Please sign in to comment.