Skip to content

Commit

Permalink
Replace sendRawTransaction with sendTransaction (#833)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukecaan committed Jan 24, 2024
1 parent 38a92a5 commit 9e51138
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions sdk/src/driftClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2690,9 +2690,11 @@ export class DriftClient {
txKeys
);

const { txSig, slot } = await this.txSender.sendRawTransaction(
signedVersionedMarketOrderTx.serialize(),
this.opts
const {txSig, slot} = await this.sendTransaction(
signedVersionedMarketOrderTx,
[],
this.opts,
true
);
this.perpMarketLastSlotCache.set(orderParams.marketIndex, slot);

Expand Down

0 comments on commit 9e51138

Please sign in to comment.