forked from anza-xyz/agave
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip creating reward partition account for `--partitioned-epoch-rewar…
…ds-force-enable-single-slot` (solana-labs#34946) * skip creating reward partition account when we are testing agains mainnet * Update runtime/src/bank.rs Co-authored-by: Brooks <[email protected]> * Update runtime/src/bank.rs Co-authored-by: Brooks <[email protected]> * refactor bool logic for partition reward single slot enable * Update runtime/src/bank.rs Co-authored-by: Tyera <[email protected]> * move force_partition_rewards check into data account create fn * share code --------- Co-authored-by: HaoranYi <[email protected]> Co-authored-by: Brooks <[email protected]> Co-authored-by: Tyera <[email protected]>
- Loading branch information
1 parent
c656ca6
commit 8a0c91d
Showing
1 changed file
with
22 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters