Revert "count vote transaction units to block cost"
This reverts commit 5655ea0061
.
This commit is contained in:
@ -1145,7 +1145,11 @@ impl BankingStage {
|
|||||||
.filter_map(|(tx, tx_index)| {
|
.filter_map(|(tx, tx_index)| {
|
||||||
// put transaction into retry queue if it wouldn't fit
|
// put transaction into retry queue if it wouldn't fit
|
||||||
// into current bank
|
// into current bank
|
||||||
if read_cost_tracker
|
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
|
||||||
.would_transaction_fit(
|
.would_transaction_fit(
|
||||||
&tx,
|
&tx,
|
||||||
&cost_model
|
&cost_model
|
||||||
|
Reference in New Issue
Block a user