Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tao-stones committed Sep 12, 2023
1 parent 5862dff commit 7ff981d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cost-model/src/transaction_cost.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ use {crate::block_cost_limits, solana_sdk::pubkey::Pubkey};
/// Resources required to process a regular transaction often include
/// an array of variables, such as execution cost, loaded bytes, write
/// lock and read lock etc.
/// Vote has a simple and pre-determined format, therefore can have
/// a constant cost, skipping transaction inspection as required for
/// non-vote transaction.
/// Vote has a simpler and pre-determined format, it's cost structure
/// can be simpler, calculation quicker.
#[derive(Debug)]
pub enum TransactionCost {
Vote { writable_accounts: Vec<Pubkey> },
Expand Down

0 comments on commit 7ff981d

Please sign in to comment.