From 9e0bfedd0b38ce7b16913b05f070eb153182bcd6 Mon Sep 17 00:00:00 2001 From: Will <82029448+wjthieme@users.noreply.github.com> Date: Tue, 13 Aug 2024 18:39:56 -0400 Subject: [PATCH] Update whirlpool-client-impl.ts --- legacy-sdk/whirlpool/src/impl/whirlpool-client-impl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy-sdk/whirlpool/src/impl/whirlpool-client-impl.ts b/legacy-sdk/whirlpool/src/impl/whirlpool-client-impl.ts index ec9e08a73..19c89895d 100644 --- a/legacy-sdk/whirlpool/src/impl/whirlpool-client-impl.ts +++ b/legacy-sdk/whirlpool/src/impl/whirlpool-client-impl.ts @@ -192,7 +192,7 @@ export class WhirlpoolClientImpl implements WhirlpoolClient { whirlpoolsConfig: Address, tokenMintA: Address, tokenMintB: Address, - initialPrice: Decimal, + initialPrice = new Decimal(1), funder: Address, opts = PREFER_CACHE ): Promise<{ poolKey: PublicKey; tx: TransactionBuilder }> {