Skip to content

Commit

Permalink
fixup: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo committed Dec 9, 2021
1 parent 238a6e9 commit 5a60296
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3584,7 +3584,6 @@ impl Bank {

if let Some(legacy_message) = tx.message().legacy_message() {
// bprumo NOTE: Here's where the message/transaction starts getting processed
// bprumo TODO: Update self (Bank) with the new accounts data len
process_result = MessageProcessor::process_message(
&self.builtin_programs.vec,
legacy_message,
Expand Down
2 changes: 0 additions & 2 deletions runtime/src/message_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ impl MessageProcessor {
);
timings.accumulate(&invoke_context.timings);
}
// bprumo NOTE: likely need to return the amount of new/changed account data size here too,
// so the bank can update its total
Ok(ProcessMessageResult {
accounts_data_meter: invoke_context.accounts_data_meter().take(),
})
Expand Down

0 comments on commit 5a60296

Please sign in to comment.