Skip to content

Commit

Permalink
change sdk default
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Nov 13, 2024
1 parent 85dd9b5 commit 02e7ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/driftClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5565,7 +5565,7 @@ export class DriftClient {

let optionalParams = null;
if (auctionDurationPercentage || successCondition) {
optionalParams = (successCondition ?? 0) << 8 | (auctionDurationPercentage ?? 0);
optionalParams = (successCondition ?? 0) << 8 | (auctionDurationPercentage ?? 100);
}

return await this.program.instruction.placeAndTakePerpOrder(
Expand Down

0 comments on commit 02e7ff2

Please sign in to comment.