diff --git a/client/ts/tests/batchUpdate.ts b/client/ts/tests/batchUpdate.ts index 898c80f07..839d3f8a9 100644 --- a/client/ts/tests/batchUpdate.ts +++ b/client/ts/tests/batchUpdate.ts @@ -57,7 +57,7 @@ async function batchUpdate( connection: Connection, payerKeypair: Keypair, marketAddress: PublicKey, - baseAtoms: number, + numBaseTokens: number, price: number, isBid: boolean, orderType: OrderType, @@ -74,7 +74,7 @@ async function batchUpdate( const placeOrderIx = client.batchUpdateIx( [ { - baseAtoms, + numBaseTokens, price, isBid, lastValidSlot: lastValidSlot, diff --git a/client/ts/tests/placeOrder.ts b/client/ts/tests/placeOrder.ts index 67f7dd9bf..7e3266904 100644 --- a/client/ts/tests/placeOrder.ts +++ b/client/ts/tests/placeOrder.ts @@ -67,7 +67,7 @@ export async function placeOrder( connection: Connection, payerKeypair: Keypair, marketAddress: PublicKey, - baseAtoms: number, + numBaseTokens: number, price: number, isBid: boolean, orderType: OrderType, @@ -82,7 +82,7 @@ export async function placeOrder( ); const placeOrderIx = client.placeOrderIx({ - baseAtoms, + numBaseTokens, price, isBid, lastValidSlot: lastValidSlot,