Skip to content

Commit 4335cfc

Browse files
committed
Allow off curve accounts in USDC withdrawal
1 parent 3086a62 commit 4335cfc

File tree

1 file changed

+5
-1
lines changed
  • packages/common/src/services/audius-backend

1 file changed

+5
-1
lines changed

packages/common/src/services/audius-backend/solana.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,11 @@ export const transferFromUserBank = async ({
464464
try {
465465
const instructions: TransactionInstruction[] = []
466466

467-
const destination = getAssociatedTokenAddressSync(mint, destinationWallet)
467+
const destination = getAssociatedTokenAddressSync(
468+
mint,
469+
destinationWallet,
470+
true
471+
)
468472

469473
try {
470474
await getAccount(connection, destination)

0 commit comments

Comments
 (0)