* Revert "add genesis stake placeholders (#6969)"
This reverts commit 8a879faac7
.
* fixup! Revert "add genesis stake placeholders (#6969)"
* fixup! fixup! Revert "add genesis stake placeholders (#6969)"
* fixup! fixup! fixup! Revert "add genesis stake placeholders (#6969)"
* fixup! fixup! fixup! fixup! Revert "add genesis stake placeholders (#6969)"
* fmt
This commit is contained in:
committed by
Michael Vines
parent
b8cd0a1bc0
commit
702f7cc51d
@ -15,14 +15,13 @@ solana_sdk::declare_id!("StorageMiningPoo111111111111111111111111111");
|
||||
// to cut down on collisions for redemptions, we make multiple accounts
|
||||
pub const NUM_REWARDS_POOLS: usize = 32;
|
||||
|
||||
pub fn add_genesis_accounts(genesis_config: &mut GenesisConfig) -> u64 {
|
||||
pub fn add_genesis_accounts(genesis_config: &mut GenesisConfig) {
|
||||
let mut pubkey = id();
|
||||
|
||||
for _i in 0..NUM_REWARDS_POOLS {
|
||||
genesis_config.add_rewards_pool(pubkey, create_rewards_pool());
|
||||
pubkey = Pubkey::new(hash(pubkey.as_ref()).as_ref());
|
||||
}
|
||||
0 // didn't consume any lamports
|
||||
}
|
||||
|
||||
pub fn random_id() -> Pubkey {
|
||||
|
Reference in New Issue
Block a user