Skip to content

Commit

Permalink
Update test fcts
Browse files Browse the repository at this point in the history
  • Loading branch information
DonDuala committed Aug 28, 2024
1 parent 5a254ab commit fdb1304
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/ts/tests/batchUpdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function batchUpdate(
connection: Connection,
payerKeypair: Keypair,
marketAddress: PublicKey,
baseAtoms: number,
numBaseTokens: number,
price: number,
isBid: boolean,
orderType: OrderType,
Expand All @@ -74,7 +74,7 @@ async function batchUpdate(
const placeOrderIx = client.batchUpdateIx(
[
{
baseAtoms,
numBaseTokens,
price,
isBid,
lastValidSlot: lastValidSlot,
Expand Down
4 changes: 2 additions & 2 deletions client/ts/tests/placeOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export async function placeOrder(
connection: Connection,
payerKeypair: Keypair,
marketAddress: PublicKey,
baseAtoms: number,
numBaseTokens: number,
price: number,
isBid: boolean,
orderType: OrderType,
Expand All @@ -82,7 +82,7 @@ export async function placeOrder(
);

const placeOrderIx = client.placeOrderIx({
baseAtoms,
numBaseTokens,
price,
isBid,
lastValidSlot: lastValidSlot,
Expand Down

0 comments on commit fdb1304

Please sign in to comment.