Skip to content

Commit

Permalink
move off of dep ranges.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpe7s committed Aug 19, 2024
1 parent 8630d53 commit db93593
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ ext {
bouncycastleMinor = 'jdk18on'
bouncycastlePatch = '1.78.1' // https://www.bouncycastle.org/latest_releases.html#LATEST

jsoniter = '[2,)'
jsoniter = '2.11.0'

sava = '[1,)'
sava_solana_programs = '[1,)'
sava_anchor_src_gen = '[1,)'
sava = '1.3.1'
sava_solana_programs = '1.3.6'
sava_anchor_src_gen = '1.2.4'
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,22 +277,22 @@ public Instruction authorizeStakeAccount(final PublicKey stakeAccount,
public Instruction authorizeStakeAccount(final PublicKey stakeAccount,
final PublicKey stakeOrWithdrawAuthority,
final StakeProgram.StakeAuthorize stakeAuthorize) {
return nativeProgramAccountClient.authorizeStakeAccount(stakeAccount, stakeOrWithdrawAuthority, stakeAuthorize);
return nativeProgramAccountClient.authorizeStakeAccount(stakeAccount, stakeOrWithdrawAuthority, stakeAuthorize);
}

@Override
public Instruction authorizeStakeAccountChecked(final PublicKey stakeAccount,
final PublicKey stakeOrWithdrawAuthority,
final PublicKey newStakeOrWithdrawAuthority,
final StakeProgram.StakeAuthorize stakeAuthorize) {
return nativeProgramAccountClient.authorizeStakeAccountChecked(stakeAccount, stakeOrWithdrawAuthority, stakeAuthorize);
return nativeProgramAccountClient.authorizeStakeAccountChecked(stakeAccount, stakeOrWithdrawAuthority, stakeAuthorize);
}

@Override
public Instruction authorizeStakeAccountChecked(final PublicKey stakeAccount,
final PublicKey stakeOrWithdrawAuthority,
final StakeProgram.StakeAuthorize stakeAuthorize) {
return nativeProgramAccountClient.authorizeStakeAccountChecked(stakeAccount, stakeOrWithdrawAuthority, stakeAuthorize);
return nativeProgramAccountClient.authorizeStakeAccountChecked(stakeAccount, stakeOrWithdrawAuthority, stakeAuthorize);
}

@Override
Expand Down Expand Up @@ -499,9 +499,14 @@ private Instruction deactivateStakeAccounts() {
);
}

@Override
public Instruction deactivateStakeAccount(final PublicKey stakeAccount) {
return deactivateStakeAccounts().extraAccount(stakeAccount, AccountMeta.CREATE_WRITE);
}

@Override
public Instruction deactivateStakeAccount(final StakeAccount stakeAccount) {
return deactivateStakeAccounts().extraAccount(stakeAccount.address(), AccountMeta.CREATE_WRITE);
return deactivateStakeAccount(stakeAccount.address());
}

@Override
Expand Down

0 comments on commit db93593

Please sign in to comment.