Skip to content

Commit

Permalink
try without create wsol ata
Browse files Browse the repository at this point in the history
  • Loading branch information
jpe7s committed Aug 23, 2024
1 parent 52b4ed9 commit 38af5c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ ext {
jsoniter = '2.11.0'

sava = '1.4.2'
sava_solana_programs = '1.4.4'
sava_anchor_src_gen = '1.3.2'
sava_solana_programs = '1.4.5'
sava_anchor_src_gen = '1.3.3'
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ public List<Instruction> swapChecked(final PublicKey inputMintKey,

if (wrapSOL && inputMintKey.equals(solanaAccounts.wrappedSolTokenMint())) {
return List.of(
glamProgramAccountClient.createATAForOwnerFundedByFeePayer(
true, inputTreasuryATA, inputMintKey, inputTokenProgram
),
// glamProgramAccountClient.createATAForOwnerFundedByFeePayer(
// true, inputTreasuryATA, inputMintKey, inputTokenProgram
// ),
glamProgramAccountClient.transferLamportsAndSyncNative(amount),
createManagerInputATA,
createManagerOutputATA,
Expand Down

0 comments on commit 38af5c9

Please sign in to comment.