Skip to content

Commit

Permalink
Update comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Mar 20, 2024
1 parent 307b47a commit 365ef48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/chain/transaction_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ namespace eosio { namespace chain {
{
uint32_t new_action_ordinal = trace->action_traces.size() + 1;

trace->action_traces.reserve( std::bit_ceil(new_action_ordinal) ); // bit_ceil to avoid vector copy on every insertion
trace->action_traces.reserve( std::bit_ceil(new_action_ordinal) ); // bit_ceil to avoid vector copy on every reserve call.

const action& provided_action = get_action_trace( action_ordinal ).act;

Expand Down

0 comments on commit 365ef48

Please sign in to comment.