This repository was archived by the owner on Mar 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -702,20 +702,22 @@ export async function increaseValidatorStake(
702
702
stakePoolAddress ,
703
703
new BN ( ephemeralStakeSeed ) ,
704
704
) ;
705
- StakePoolInstruction . increaseAdditionalValidatorStake ( {
706
- stakePool : stakePoolAddress ,
707
- staker : stakePool . account . data . staker ,
708
- validatorList : stakePool . account . data . validatorList ,
709
- reserveStake : stakePool . account . data . reserveStake ,
710
- transientStakeSeed : transientStakeSeed . toNumber ( ) ,
711
- withdrawAuthority,
712
- transientStake,
713
- validatorStake,
714
- validatorVote,
715
- lamports,
716
- ephemeralStake,
717
- ephemeralStakeSeed,
718
- } ) ;
705
+ instructions . push (
706
+ StakePoolInstruction . increaseAdditionalValidatorStake ( {
707
+ stakePool : stakePoolAddress ,
708
+ staker : stakePool . account . data . staker ,
709
+ validatorList : stakePool . account . data . validatorList ,
710
+ reserveStake : stakePool . account . data . reserveStake ,
711
+ transientStakeSeed : transientStakeSeed . toNumber ( ) ,
712
+ withdrawAuthority,
713
+ transientStake,
714
+ validatorStake,
715
+ validatorVote,
716
+ lamports,
717
+ ephemeralStake,
718
+ ephemeralStakeSeed,
719
+ } ) ,
720
+ ) ;
719
721
} else {
720
722
instructions . push (
721
723
StakePoolInstruction . increaseValidatorStake ( {
You can’t perform that action at this time.
0 commit comments