Skip to content

Commit

Permalink
sdk: make withdraw ixs public method (#1343)
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpipta authored Nov 21, 2024
1 parent 28871fc commit c917762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/src/driftClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2644,14 +2644,14 @@ export class DriftClient {
return [txSig, userAccountPublicKey];
}

private async getWithdrawalIxs(
public async getWithdrawalIxs(
amount: BN,
marketIndex: number,
associatedTokenAddress: PublicKey,
reduceOnly = false,
subAccountId?: number,
updateFuel = false
) {
): Promise<TransactionInstruction[]> {
const withdrawIxs: anchor.web3.TransactionInstruction[] = [];

const spotMarketAccount = this.getSpotMarketAccount(marketIndex);
Expand Down

0 comments on commit c917762

Please sign in to comment.