Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abrzezinski94 committed Oct 16, 2023
1 parent a94b7cf commit 356442f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const CloseMultipleTokenAccounts = ({
if (
needToCreateAta &&
!mintsOfCurrentlyPushedAtaInstructions.find(
(x) => x !== mintPK.toBase58()
(x) => x === mintPK.toBase58()
)
) {
const createAtaInstruction = Token.createAssociatedTokenAccountInstruction(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const CloseVaults = ({
if (
!depositAccountInfo &&
!mintsOfCurrentlyPushedAtaInstructions.find(
(x) => x !== v.mint.toBase58()
(x) => x === v.mint.toBase58()
)
) {
// generate the instruction for creating the ATA
Expand Down

0 comments on commit 356442f

Please sign in to comment.