@@ -644,15 +644,17 @@ impl Processor {
644
644
stake_pool. account_type = AccountType :: StakePool ;
645
645
stake_pool. manager = * manager_info. key ;
646
646
stake_pool. staker = * staker_info. key ;
647
- stake_pool. reserve_stake = * reserve_stake_info. key ;
648
647
stake_pool. stake_deposit_authority = stake_deposit_authority;
649
648
stake_pool. stake_withdraw_bump_seed = stake_withdraw_bump_seed;
650
649
stake_pool. validator_list = * validator_list_info. key ;
650
+ stake_pool. reserve_stake = * reserve_stake_info. key ;
651
651
stake_pool. pool_mint = * pool_mint_info. key ;
652
652
stake_pool. manager_fee_account = * manager_fee_info. key ;
653
653
stake_pool. token_program_id = * token_program_info. key ;
654
- stake_pool. last_update_epoch = Clock :: get ( ) ?. epoch ;
655
654
stake_pool. total_lamports = total_lamports;
655
+ stake_pool. pool_token_supply = 0 ;
656
+ stake_pool. last_update_epoch = Clock :: get ( ) ?. epoch ;
657
+ stake_pool. lockup = stake_program:: Lockup :: default ( ) ;
656
658
stake_pool. epoch_fee = epoch_fee;
657
659
stake_pool. next_epoch_fee = None ;
658
660
stake_pool. preferred_deposit_validator_vote_address = None ;
@@ -666,7 +668,9 @@ impl Processor {
666
668
stake_pool. sol_referral_fee = referral_fee;
667
669
stake_pool. sol_withdraw_authority = None ;
668
670
stake_pool. sol_withdrawal_fee = withdrawal_fee;
669
- stake_pool. next_stake_withdrawal_fee = None ;
671
+ stake_pool. next_sol_withdrawal_fee = None ;
672
+ stake_pool. last_epoch_pool_token_supply = 0 ;
673
+ stake_pool. last_epoch_total_lamports = 0 ;
670
674
671
675
stake_pool
672
676
. serialize ( & mut * stake_pool_info. data . borrow_mut ( ) )
0 commit comments