Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Fix method name
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyera Eulberg committed Jan 12, 2024
1 parent 5881f7b commit 58df173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1622,7 +1622,7 @@ impl Bank {
// (total_rewards, distributed_rewards, credit_end_exclusive), total capital will increase by (total_rewards - distributed_rewards)
self.create_epoch_rewards_sysvar(total_rewards, distributed_rewards, credit_end_exclusive);

self.create_epoch_rewards_partition_list_account(num_partitions, parent_blockhash);
self.create_epoch_rewards_partition_data_account(num_partitions, parent_blockhash);

datapoint_info!(
"epoch-rewards-status-update",
Expand Down Expand Up @@ -3595,7 +3595,7 @@ impl Bank {
}

/// Create the persistent PDA containing the epoch-rewards data
fn create_epoch_rewards_partition_list_account(
fn create_epoch_rewards_partition_data_account(
&self,
num_partitions: usize,
parent_blockhash: Hash,
Expand Down

0 comments on commit 58df173

Please sign in to comment.