File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -472,24 +472,6 @@ pub fn execute_block(context: BlockContext) -> Option<BlockEffects> {
472472 ) ,
473473 ) ;
474474
475- let stakes_current_accounts = Stakes :: new ( & stakes_t, |pubkey| {
476- context
477- . acct_states
478- . iter ( )
479- . find ( |acct| {
480- Pubkey :: new_from_array ( acct. address . clone ( ) . try_into ( ) . unwrap ( ) ) == * pubkey
481- } )
482- . map ( AccountSharedData :: from)
483- } )
484- . unwrap ( ) ;
485- epoch_stakes. insert (
486- leader_schedule_epoch. saturating_add ( 1 ) ,
487- VersionedEpochStakes :: new (
488- SerdeStakesToStakeFormat :: from ( stakes_current_accounts) ,
489- leader_schedule_epoch. saturating_add ( 1 ) ,
490- ) ,
491- ) ;
492-
493475 let fee_rate_governor = slot_ctx. fee_rate_governor . unwrap ( ) ;
494476
495477 let mut parent_lthash = LtHash :: identity ( ) ;
You can’t perform that action at this time.
0 commit comments