count vote transaction units to block cost
This commit is contained in:
@@ -1147,11 +1147,7 @@ impl BankingStage {
|
||||
.filter_map(|(tx, tx_index)| {
|
||||
// put transaction into retry queue if it wouldn't fit
|
||||
// into current bank
|
||||
let is_vote = &packet_batch.packets[tx_index].meta.is_simple_vote_tx;
|
||||
|
||||
// excluding vote TX from cost_model, for now
|
||||
if !is_vote
|
||||
&& read_cost_tracker
|
||||
if read_cost_tracker
|
||||
.would_transaction_fit(
|
||||
&tx,
|
||||
&cost_model
|
||||
|
Reference in New Issue
Block a user